File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 44
55import (" //build/fuchsia/sdk.gni" )
66import (" //third_party/dart/sdk/lib/_http/http_sources.gni" )
7+ import (" //third_party/dart/sdk/lib/_internal/js_runtime/interceptors_sources.gni" )
78import (" //third_party/dart/sdk/lib/async/async_sources.gni" )
89import (" //third_party/dart/sdk/lib/collection/collection_sources.gni" )
910import (" //third_party/dart/sdk/lib/convert/convert_sources.gni" )
@@ -84,6 +85,14 @@ copy("_http") {
8485 ]
8586}
8687
88+ copy (" _interceptors" ) {
89+ lib_path = rebase_path (" _internal/js_runtime" , " " , dart_sdk_lib_path )
90+ sources = rebase_path (interceptors_sdk_sources , " " , lib_path )
91+ outputs = [
92+ " $root_gen_dir /dart-pkg/sky_engine/lib/_interceptors/{{source_file_part}}" ,
93+ ]
94+ }
95+
8796copy (" internal" ) {
8897 lib_path = rebase_path (" internal" , " " , dart_sdk_lib_path )
8998 sources = rebase_path (internal_sdk_sources , " " , lib_path )
@@ -175,6 +184,7 @@ copy("copy_dart_ui") {
175184group (" copy_dart_sdk" ) {
176185 deps = [
177186 " :_http" ,
187+ " :_interceptors" ,
178188 " :async" ,
179189 " :collection" ,
180190 " :convert" ,
Original file line number Diff line number Diff line change @@ -15,9 +15,10 @@ embedded_libs:
1515 " dart:ui " : " ui/ui.dart"
1616 " dart:wasm " : " wasm/wasm.dart"
1717
18- # The internal library is needed as some implementations bleed into the
18+ " dart:_http " : " _http/http.dart"
19+ " dart:_interceptors " : " _interceptors/interceptors.dart"
20+ # The _internal library is needed as some implementations bleed into the
1921 # public API, e.g. List being Iterable by virtue of implementing
2022 # EfficientLengthIterable. Not including this library yields analysis errors.
2123 " dart:_internal " : " internal/internal.dart"
22- " dart:_http " : " _http/http.dart"
2324 " dart:nativewrappers " : " _empty.dart"
You can’t perform that action at this time.
0 commit comments