OLD | NEW |
1 import("../mojo_sdk.gni") | 1 import("../mojo_sdk.gni") |
2 import("rules.gni") | 2 import("rules.gni") |
3 | 3 |
4 dart_mojo_sdk_sources = [ | 4 dart_mojo_sdk_sources = [ |
5 "lib/application.dart", | 5 "lib/application.dart", |
6 "lib/bindings.dart", | 6 "lib/bindings.dart", |
7 "lib/core.dart", | 7 "lib/core.dart", |
8 "lib/src/application_connection.dart", | 8 "lib/src/application_connection.dart", |
9 "lib/src/application.dart", | 9 "lib/src/application.dart", |
10 "lib/src/buffer.dart", | 10 "lib/src/buffer.dart", |
11 "lib/src/codec.dart", | 11 "lib/src/codec.dart", |
12 "lib/src/control_message.dart", | 12 "lib/src/control_message.dart", |
13 "lib/src/data_pipe.dart", | 13 "lib/src/data_pipe.dart", |
14 "lib/src/drain_data.dart", | 14 "lib/src/drain_data.dart", |
15 "lib/src/event_stream.dart", | 15 "lib/src/event_stream.dart", |
16 "lib/src/handle.dart", | 16 "lib/src/handle.dart", |
17 "lib/src/message.dart", | 17 "lib/src/message.dart", |
18 "lib/src/message_pipe.dart", | 18 "lib/src/message_pipe.dart", |
19 "lib/src/proxy.dart", | 19 "lib/src/proxy.dart", |
20 "lib/src/struct.dart", | 20 "lib/src/struct.dart", |
21 "lib/src/stub.dart", | 21 "lib/src/stub.dart", |
22 "lib/src/union.dart", | 22 "lib/src/union.dart", |
23 "lib/src/types.dart", | 23 "lib/src/types.dart", |
24 "sdk_ext/internal.dart", | |
25 "sdk_ext/src/handle_watcher.dart", | |
26 "sdk_ext/src/natives.dart", | |
27 "sdk_ext/src/timer_queue.dart", | |
28 ] | 24 ] |
29 | 25 |
30 dartzip_package("dart") { | 26 dartzip_package("dart") { |
31 sources = dart_mojo_sdk_sources + [ | 27 sources = dart_mojo_sdk_sources + [ |
32 "pubspec.yaml", | 28 "pubspec.yaml", |
33 "CHANGELOG.md", | 29 "CHANGELOG.md", |
34 "README.md", | 30 "README.md", |
35 ] | 31 ] |
36 uses_pub = true | 32 uses_pub = true |
37 package_name_override = "mojo" | 33 package_name_override = "mojo" |
38 deps = [ | 34 deps = [ |
39 "../interfaces/application", | 35 "../interfaces/application", |
40 "../interfaces/bindings", | 36 "../interfaces/bindings", |
41 "../interfaces/network", | 37 "../interfaces/network", |
42 ] | 38 ] |
43 } | 39 } |
44 | 40 |
45 dart_pkg("mojo") { | 41 dart_pkg("mojo") { |
46 sources = dart_mojo_sdk_sources + [ | 42 sources = dart_mojo_sdk_sources + [ |
47 "pubspec.yaml", | 43 "pubspec.yaml", |
48 "CHANGELOG.md", | 44 "CHANGELOG.md", |
49 "README.md", | 45 "README.md", |
50 ] | 46 ] |
51 | 47 |
| 48 sdk_ext_directory = "sdk_ext" |
| 49 sdk_ext_mappings = [ "dart:mojo.internal,internal.dart" ] |
| 50 |
52 # List of mojom targets that the mojo pkg exports | 51 # List of mojom targets that the mojo pkg exports |
53 deps = [ | 52 deps = [ |
54 "../interfaces", | 53 "../interfaces", |
55 ] | 54 ] |
56 } | 55 } |
OLD | NEW |