@@ -8,6 +8,7 @@ import("//flutter/lib/ui/dart_ui.gni")
8
8
import (" //third_party/dart/sdk/lib/_http/http_sources.gni" )
9
9
import (
10
10
" //third_party/dart/sdk/lib/_internal/js_runtime/interceptors_sources.gni" )
11
+ import (" //third_party/dart/sdk/lib/_internal/js_shared/js_types_sources.gni" )
11
12
import (" //third_party/dart/sdk/lib/async/async_sources.gni" )
12
13
import (" //third_party/dart/sdk/lib/collection/collection_sources.gni" )
13
14
import (" //third_party/dart/sdk/lib/convert/convert_sources.gni" )
@@ -18,6 +19,7 @@ import("//third_party/dart/sdk/lib/html/html_sources.gni")
18
19
import (" //third_party/dart/sdk/lib/internal/internal_sources.gni" )
19
20
import (" //third_party/dart/sdk/lib/io/io_sources.gni" )
20
21
import (" //third_party/dart/sdk/lib/isolate/isolate_sources.gni" )
22
+ import (" //third_party/dart/sdk/lib/js/js_annotations_sources.gni" )
21
23
import (" //third_party/dart/sdk/lib/js/js_sources.gni" )
22
24
import (" //third_party/dart/sdk/lib/js_interop/js_interop_sources.gni" )
23
25
import (" //third_party/dart/sdk/lib/js_util/js_util_sources.gni" )
@@ -86,6 +88,19 @@ copy("_interceptors") {
86
88
]
87
89
}
88
90
91
+ copy (" _js_annotations" ) {
92
+ lib_path = rebase_path (" js" , " " , dart_sdk_lib_path )
93
+ sources = rebase_path (js_annotations_sdk_sources , " " , lib_path )
94
+ outputs = [ " $root_gen_dir /dart-pkg/sky_engine/lib/_js_annotations/{{source_file_part}}" ]
95
+ }
96
+
97
+ copy (" _js_types" ) {
98
+ lib_path = rebase_path (" _internal/js_shared" , " " , dart_sdk_lib_path )
99
+ sources = rebase_path (js_types_sdk_sources , " " , lib_path )
100
+ outputs =
101
+ [ " $root_gen_dir /dart-pkg/sky_engine/lib/_js_types/{{source_file_part}}" ]
102
+ }
103
+
89
104
copy (" internal" ) {
90
105
lib_path = rebase_path (" internal" , " " , dart_sdk_lib_path )
91
106
sources = rebase_path (internal_sdk_sources , " " , lib_path )
@@ -180,6 +195,8 @@ group("copy_dart_sdk") {
180
195
deps = [
181
196
" :_http" ,
182
197
" :_interceptors" ,
198
+ " :_js_annotations" ,
199
+ " :_js_types" ,
183
200
" :async" ,
184
201
" :collection" ,
185
202
" :convert" ,
@@ -230,6 +247,10 @@ generated_file("_embedder_yaml") {
230
247
" # public API, e.g. List being Iterable by virtue of implementing" ,
231
248
" # EfficientLengthIterable. Not including this library yields analysis errors." ,
232
249
" \" dart:_internal\" : \" internal/internal.dart\" " ,
250
+ " # The _js_annotations library is also needed for the same reasons as _internal." ,
251
+ " \" dart:_js_annotations\" : \" _js_annotations/_js_annotations.dart\" " ,
252
+ " # The _js_types library is also needed for the same reasons as _internal." ,
253
+ " \" dart:_js_types\" : \" _js_types/js_types.dart\" " ,
233
254
" \" dart:nativewrappers\" : \" _empty.dart\" " ,
234
255
]
235
256
}
0 commit comments