[fuchsia] Decouple common packages from the core snapshot. (flutter/engine#4660)

This commit is contained in:
Ryan Macnak 2018-02-12 14:55:11 -08:00 committed by GitHub
parent 1aac5e6ed4
commit 7b61378b7e
3 changed files with 2 additions and 2576 deletions

View File

@ -25,9 +25,8 @@ copy("generate_dart_ui") {
if (is_fuchsia) {
action("generate_package_map") {
dart_deps = [
"//third_party/dart-pkg/git/flutter/packages/flutter:flutter",
"//topaz/public/lib/app/dart:dart",
"//topaz/public/lib/fidl/dart",
"//topaz/public/dart/fuchsia",
"//topaz/public/dart/zircon",
]
dot_packages_file = "$target_gen_dir/snapshot.packages"

File diff suppressed because it is too large Load Diff

View File

@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// These libraries are required. Only the core snapshot knows how to resolve
// them.
import 'dart:async';
import 'dart:collection';
import 'dart:convert';
@ -17,18 +15,3 @@ import 'dart:mozart.internal';
import 'dart:typed_data';
import 'dart:ui';
import 'dart:zircon';
// These libraries are optional. They are included in the core snapshot and
// partially compiled to avoid repeating them in each application and improve
// startup time.
import 'package:lib.app.dart/app.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/physics.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:lib.fidl.dart/bindings.dart';