Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c8a0af9

Browse files
committed
remove extra libraries
1 parent 0d5f56d commit c8a0af9

File tree

1 file changed

+0
-68
lines changed

1 file changed

+0
-68
lines changed

web_sdk/BUILD.gn

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -2,83 +2,16 @@
22
# Use of this source code is governed by a BSD-style license that can be
33
# found in the LICENSE file.
44

5-
_dart_sdk_libraries = [
6-
"_chrome",
7-
"async",
8-
"core",
9-
"html",
10-
"isolate",
11-
"math",
12-
"typed_data",
13-
"_http",
14-
"cli",
15-
#"dev_compiler",
16-
"indexed_db",
17-
"js",
18-
"mirrors",
19-
"web_audio",
20-
#"_internal", Manually copy certain files from internal to avoid collisions.
21-
"collection",
22-
"developer",
23-
"internal",
24-
"js_util",
25-
"profiler",
26-
"web_gl",
27-
"convert",
28-
"ffi",
29-
"io",
30-
"svg",
31-
"web_sql",
32-
]
33-
345
group("web_sdk") {
356
sdk_copy_deps = []
36-
foreach(library, _dart_sdk_libraries) {
37-
sdk_copy_deps += [ ":copy_flutter_${library}" ]
38-
}
397

408
deps = [
419
":web_ui_sources",
4210
":web_libraries_json",
4311
":dart_sdk_internal",
44-
":web_compiler_snapshots",
4512
] + sdk_copy_deps
4613
}
4714

48-
foreach(library, _dart_sdk_libraries) {
49-
copy("copy_flutter_${library}") {
50-
deps = [
51-
"//third_party/dart:create_sdk"
52-
]
53-
sources = exec_script("//third_party/dart/tools/list_dart_files.py",
54-
[
55-
"absolute",
56-
rebase_path("//third_party/dart/sdk/lib/${library}/"),
57-
],
58-
"list lines")
59-
60-
outputs = [
61-
"$root_out_dir/flutter_web_sdk/lib/${library}/{{source_file_part}}",
62-
]
63-
}
64-
}
65-
66-
copy("web_compiler_snapshots") {
67-
sources= [
68-
"$root_out_dir/dart-sdk/bin/snapshots/dart2js.dart.snapshot",
69-
"$root_out_dir/dart-sdk/bin/snapshots/dartdevc.dart.snapshot",
70-
]
71-
72-
outputs = [
73-
"$root_out_dir/flutter_web_sdk/bin/snapshots/{{source_file_part}}"
74-
]
75-
76-
deps = [
77-
"//third_party/dart:create_sdk"
78-
]
79-
}
80-
81-
8215
copy("web_ui_sources") {
8316
sources = [
8417
"$flutter_root/lib/stub_ui/compositing.dart",
@@ -113,7 +46,6 @@ copy("web_libraries_json") {
11346
]
11447
}
11548

116-
11749
copy("dart_sdk_internal") {
11850
deps = [
11951
"//third_party/dart:create_sdk"

0 commit comments

Comments
 (0)