OLD | NEW |
(Empty) | |
| 1 import("../mojo_sdk.gni") |
| 2 import("rules.gni") |
| 3 |
| 4 dart_mojo_sdk_sources = [ |
| 5 "application.dart", |
| 6 "bindings.dart", |
| 7 "core.dart", |
| 8 "src/application_connection.dart", |
| 9 "src/application.dart", |
| 10 "src/buffer.dart", |
| 11 "src/codec.dart", |
| 12 "src/data_pipe.dart", |
| 13 "src/drain_data.dart", |
| 14 "src/event_stream.dart", |
| 15 "src/handle.dart", |
| 16 "src/message.dart", |
| 17 "src/message_pipe.dart", |
| 18 "src/proxy.dart", |
| 19 "src/struct.dart", |
| 20 "src/stub.dart", |
| 21 "src/types.dart", |
| 22 ] |
| 23 |
| 24 dart_package("dart") { |
| 25 # This base dir ensures that Dart's Mojo SDK can be imported with, e.g., |
| 26 # import 'package:mojo/public/dart/core.dart' even when the Mojo SDK lives |
| 27 # somewhere else in the source tree. |
| 28 base_dir = rebase_path("../../$mojo_root", ".", ".") |
| 29 sources = dart_mojo_sdk_sources |
| 30 deps = [ |
| 31 "../interfaces/application", |
| 32 ] |
| 33 } |
OLD | NEW |