Skip to content

Commit

Permalink
Update the location of Flutter packages. (flutter#4257)
Browse files Browse the repository at this point in the history
  • Loading branch information
pylaligand authored Oct 20, 2017
1 parent 90f4664 commit 419ee7c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/flutter_app.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions examples/hello_flutter/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
}

Expand All @@ -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",
]
}
2 changes: 1 addition & 1 deletion examples/spinning_square/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ flutter_app("spinning_square") {
disable_analysis = true

deps = [
"//lib/flutter/packages/flutter",
"//third_party/dart-pkg/git/flutter/packages/flutter",
]
}
4 changes: 2 additions & 2 deletions lib/snapshot/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 419ee7c

Please sign in to comment.