Remove more reference to .packages

Towards #48275

Change-Id: Idfe1de48b7f292b6c89e5b904f74c37232380c6b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/231065
Auto-Submit: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
This commit is contained in:
Nate Bosch
2022-02-03 01:08:34 +00:00
committed by Commit Bot
parent 08164f88c9
commit 5e8e68c2c8
+5 -3
View File
@@ -72,7 +72,7 @@ template("_application_snapshot") {
if (defined(invoker.dot_packages)) {
dot_packages = invoker.dot_packages
} else {
dot_packages = rebase_path("$_dart_root/.packages")
dot_packages = rebase_path("$_dart_root/.dart_tool/package_config.json")
}
output = "$root_gen_dir/$name.dart.snapshot"
if (defined(invoker.output)) {
@@ -197,7 +197,8 @@ template("_application_snapshot") {
# Any build dependencies.
#
# dot_packages (optional):
# The .packages file for the app. Defaults to the $_dart_root/.packages.
# The package config file for the app. Defaults to
# $_dart_root/.dart_tool/package_config.json.
#
# output (optional):
# Overrides the full output path.
@@ -230,7 +231,8 @@ template("application_snapshot") {
# Any build dependencies.
#
# dot_packages (optional):
# The .packages file for the app. Defaults to the $_dart_root/.packages.
# The packages config file for the app. Defaults to
# $_dart_root/.dart_tool/package_config.json.
#
# output (optional):
# Overrides the full output path.