[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:
@@ -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",
|
||||
|
||||
@@ -13,7 +13,6 @@ application_snapshot("const_finder") {
|
||||
inputs = [
|
||||
"bin/main.dart",
|
||||
"lib/const_finder.dart",
|
||||
".packages",
|
||||
".dart_tool/package_config.json",
|
||||
]
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user