Skip to content

Commit 5e8e68c

Browse files
nateboschCommit Bot
authored and
Commit Bot
committed
Remove more reference to .packages
Towards #48275 Change-Id: Idfe1de48b7f292b6c89e5b904f74c37232380c6b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/231065 Auto-Submit: Nate Bosch <[email protected]> Reviewed-by: Kevin Moore <[email protected]> Commit-Queue: Kevin Moore <[email protected]>
1 parent 08164f8 commit 5e8e68c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

utils/application_snapshot.gni

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ template("_application_snapshot") {
7272
if (defined(invoker.dot_packages)) {
7373
dot_packages = invoker.dot_packages
7474
} else {
75-
dot_packages = rebase_path("$_dart_root/.packages")
75+
dot_packages = rebase_path("$_dart_root/.dart_tool/package_config.json")
7676
}
7777
output = "$root_gen_dir/$name.dart.snapshot"
7878
if (defined(invoker.output)) {
@@ -197,7 +197,8 @@ template("_application_snapshot") {
197197
# Any build dependencies.
198198
#
199199
# dot_packages (optional):
200-
# The .packages file for the app. Defaults to the $_dart_root/.packages.
200+
# The package config file for the app. Defaults to
201+
# $_dart_root/.dart_tool/package_config.json.
201202
#
202203
# output (optional):
203204
# Overrides the full output path.
@@ -230,7 +231,8 @@ template("application_snapshot") {
230231
# Any build dependencies.
231232
#
232233
# dot_packages (optional):
233-
# The .packages file for the app. Defaults to the $_dart_root/.packages.
234+
# The packages config file for the app. Defaults to
235+
# $_dart_root/.dart_tool/package_config.json.
234236
#
235237
# output (optional):
236238
# Overrides the full output path.

0 commit comments

Comments
 (0)