From 3a943b12c355185eec0ef7fd20baab30508cd454 Mon Sep 17 00:00:00 2001 From: "P.Y. Laligand" Date: Fri, 20 Oct 2017 14:25:49 -0700 Subject: [PATCH] Update the location of Flutter packages. (flutter/engine#4257) --- engine/src/flutter/build/flutter_app.gni | 2 +- engine/src/flutter/examples/hello_flutter/BUILD.gn | 4 ++-- engine/src/flutter/examples/spinning_square/BUILD.gn | 2 +- engine/src/flutter/lib/snapshot/BUILD.gn | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/engine/src/flutter/build/flutter_app.gni b/engine/src/flutter/build/flutter_app.gni index fa285260c6..f9157536a7 100644 --- a/engine/src/flutter/build/flutter_app.gni +++ b/engine/src/flutter/build/flutter_app.gni @@ -18,7 +18,7 @@ gen_snapshot_label = "//third_party/dart/runtime/bin:gen_snapshot($host_toolchai gen_snapshot_dir = get_label_info(gen_snapshot_label, "root_out_dir") gen_snapshot = "$gen_snapshot_dir/gen_snapshot" -flutter_base = "//lib/flutter" +flutter_base = "//third_party/dart-pkg/git/flutter" flutter_tools_label = "$flutter_base/packages/flutter_tools:fuchsia_builder($host_toolchain)" flutter_tools_out_dir = get_label_info(flutter_tools_label, "root_out_dir") diff --git a/engine/src/flutter/examples/hello_flutter/BUILD.gn b/engine/src/flutter/examples/hello_flutter/BUILD.gn index ff76a924b1..914aa1b1aa 100644 --- a/engine/src/flutter/examples/hello_flutter/BUILD.gn +++ b/engine/src/flutter/examples/hello_flutter/BUILD.gn @@ -10,7 +10,7 @@ flutter_jit_app("hello_flutter") { disable_analysis = true deps = [ - "//lib/flutter/packages/flutter", + "//third_party/dart-pkg/git/flutter/packages/flutter", ] } @@ -20,6 +20,6 @@ flutter_aot_app("hello_flutter_aot") { disable_analysis = true deps = [ - "//lib/flutter/packages/flutter", + "//third_party/dart-pkg/git/flutter/packages/flutter", ] } diff --git a/engine/src/flutter/examples/spinning_square/BUILD.gn b/engine/src/flutter/examples/spinning_square/BUILD.gn index a60ef1c6f1..7f0be5d3fc 100644 --- a/engine/src/flutter/examples/spinning_square/BUILD.gn +++ b/engine/src/flutter/examples/spinning_square/BUILD.gn @@ -10,6 +10,6 @@ flutter_app("spinning_square") { disable_analysis = true deps = [ - "//lib/flutter/packages/flutter", + "//third_party/dart-pkg/git/flutter/packages/flutter", ] } diff --git a/engine/src/flutter/lib/snapshot/BUILD.gn b/engine/src/flutter/lib/snapshot/BUILD.gn index 09bdae790a..97528e2a8e 100644 --- a/engine/src/flutter/lib/snapshot/BUILD.gn +++ b/engine/src/flutter/lib/snapshot/BUILD.gn @@ -19,9 +19,9 @@ import("//third_party/dart/runtime/lib/typed_data_sources.gni") import("//third_party/dart/utils/generate_patch_sdk.gni") if (is_fuchsia) { - import("//topaz/public/lib/ui/flutter/sdk_ext/sdk_ext.gni") import("//topaz/public/dart-pkg/fuchsia/sdk_ext.gni") import("//topaz/public/dart-pkg/zircon/sdk_ext.gni") + import("//topaz/public/lib/ui/flutter/sdk_ext/sdk_ext.gni") } bindings_output_dir = "$root_gen_dir/sky/bindings" @@ -37,9 +37,9 @@ 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", - "//lib/flutter/packages/flutter:flutter", ] dot_packages_file = "$target_gen_dir/snapshot.packages"