[null-safety] update use of dot packages to package_config.json (flutter/engine#19780)

Work towards flutter/flutter#60999

All usage of .packages must eventually be replace with package_config.json to support language versioning.
This commit is contained in:
Jonah Williams
2020-07-15 15:26:34 -07:00
committed by GitHub
parent 9c727f5ffe
commit 81aa9a3a9a
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ template("generate_dart_profiler_symbols") {
script = "dart_profiler_symbols.dart"
packages = rebase_path("//third_party/dart/.packages")
packages = rebase_path("//third_party/dart/.dart_tool/package_config.json")
args = [
"--nm",

View File

@@ -13,7 +13,6 @@ application_snapshot("const_finder") {
inputs = [
"bin/main.dart",
"lib/const_finder.dart",
".packages",
".dart_tool/package_config.json",
]

View File

@@ -21,7 +21,8 @@ template("dart_kernel") {
gen_kernel_script = "//third_party/dart/pkg/vm/bin/gen_kernel.dart"
platform_dill = "$root_out_dir/dart_runner_patched_sdk/platform_strong.dill"
dot_packages = rebase_path("//third_party/dart/.packages")
dot_packages =
rebase_path("//third_party/dart/.dart_tool/package_config.json")
inputs = [
platform_dill,