Skip to content

Commit 5706d13

Browse files
nshahancommit-bot@chromium.org
authored andcommitted
[dartdevc] Update URI for libraries.json to use multi-root
I confirmed that this prevents the local paths from leaking into the ddc_sdk.dill file created by this build target. Change-Id: I777482f5aea6d70106072f070ab48233ec302682 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/122178 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
1 parent f77d719 commit 5706d13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/dartdevc/BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,9 @@ prebuilt_dart_action("dartdevc_kernel_sdk_outline") {
372372
"--multi-root-scheme",
373373
"org-dartlang-sdk",
374374
"--multi-root",
375-
rebase_path(sdk_root),
375+
"file:///" + rebase_path(sdk_root),
376376
"--libraries-file",
377-
"file:///" + rebase_path("$sdk_root/lib/libraries.json"),
377+
"org-dartlang-sdk:///lib/libraries.json",
378378
"--output",
379379
rebase_path(sdk_dill),
380380
"--source",

0 commit comments

Comments
 (0)