From 5d757690d5f74d732f0cd2bf8fe2d9de251c7912 Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Wed, 15 Jul 2020 15:26:34 -0700 Subject: [PATCH] [null-safety] update use of dot packages to package_config.json (#19780) Work towards flutter/flutter#60999 All usage of .packages must eventually be replace with package_config.json to support language versioning. --- shell/platform/fuchsia/runtime/dart/profiler_symbols/BUILD.gn | 2 +- tools/const_finder/BUILD.gn | 1 - tools/fuchsia/dart_kernel.gni | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/platform/fuchsia/runtime/dart/profiler_symbols/BUILD.gn b/shell/platform/fuchsia/runtime/dart/profiler_symbols/BUILD.gn index 36acb89fe0..e4e9a3b170 100644 --- a/shell/platform/fuchsia/runtime/dart/profiler_symbols/BUILD.gn +++ b/shell/platform/fuchsia/runtime/dart/profiler_symbols/BUILD.gn @@ -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", diff --git a/tools/const_finder/BUILD.gn b/tools/const_finder/BUILD.gn index bcfe8d43f9..598f3f04b2 100644 --- a/tools/const_finder/BUILD.gn +++ b/tools/const_finder/BUILD.gn @@ -13,7 +13,6 @@ application_snapshot("const_finder") { inputs = [ "bin/main.dart", "lib/const_finder.dart", - ".packages", ".dart_tool/package_config.json", ] diff --git a/tools/fuchsia/dart_kernel.gni b/tools/fuchsia/dart_kernel.gni index 06010829ed..f3ebc64d8b 100644 --- a/tools/fuchsia/dart_kernel.gni +++ b/tools/fuchsia/dart_kernel.gni @@ -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, -- GitLab