Skip to content

Commit 5340f42

Browse files
authored
Revert "Use single_root_scheme when compiling platform (flutter#6402)" (flutter#6431)
Revert commit 360d446.
1 parent 37fd43d commit 5340f42

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lib/snapshot/BUILD.gn

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ source_set("snapshot") {
169169
}
170170

171171
compile_platform("non_strong_platform") {
172-
single_root_scheme = "org-dartlang-sdk"
173-
single_root_base = rebase_path("../../../")
174-
libraries_specification_uri = "org-dartlang-sdk:///flutter/lib/snapshot/libraries.json"
172+
libraries_specification_uri = "libraries.json"
175173

176174
outputs = [
177175
"$root_out_dir/flutter_patched_sdk/platform.dill",
@@ -185,9 +183,7 @@ compile_platform("non_strong_platform") {
185183
}
186184

187185
compile_platform("strong_platform") {
188-
single_root_scheme = "org-dartlang-sdk"
189-
single_root_base = rebase_path("../../../")
190-
libraries_specification_uri = "org-dartlang-sdk:///flutter/lib/snapshot/libraries.json"
186+
libraries_specification_uri = "libraries.json"
191187

192188
outputs = [
193189
"$root_out_dir/flutter_patched_sdk/platform_strong.dill",

0 commit comments

Comments
 (0)