Update flutter_app template to new .packages filename scheme (flutter/engine#3000)

The name of the generated packages file now includes the target name.
This commit is contained in:
James Robinson
2016-09-02 11:12:13 -07:00
committed by GitHub
parent 99348cbf65
commit 57a5f4cea4

View File

@@ -75,7 +75,7 @@ template("flutter_app") {
"--main-dart",
rebase_path(main_dart),
"--packages",
rebase_path("$target_gen_dir/.packages"),
rebase_path("$target_gen_dir/$dart_package_name.packages"),
"--bundle",
rebase_path(bundle_path),
"--bundle-header",
@@ -89,6 +89,7 @@ template("flutter_app") {
]
deps = [
":$dart_package_name",
flutter_snapshot_label,
]