Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: mojo/public/dart/BUILD.gn

Issue 1027603002: Dart: Removes all but native calls and the handle watcher from the snapshot. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Hoist application interface dependence Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/dart/test/validation_test.dart ('k') | mojo/public/dart/application.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/BUILD.gn
diff --git a/mojo/public/dart/BUILD.gn b/mojo/public/dart/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..711eee392465d54e3b4f26995d4ec63d37e0e709
--- /dev/null
+++ b/mojo/public/dart/BUILD.gn
@@ -0,0 +1,33 @@
+import("../mojo_sdk.gni")
+import("rules.gni")
+
+dart_mojo_sdk_sources = [
+ "application.dart",
+ "bindings.dart",
+ "core.dart",
+ "src/application_connection.dart",
+ "src/application.dart",
+ "src/buffer.dart",
+ "src/codec.dart",
+ "src/data_pipe.dart",
+ "src/drain_data.dart",
+ "src/event_stream.dart",
+ "src/handle.dart",
+ "src/message.dart",
+ "src/message_pipe.dart",
+ "src/proxy.dart",
+ "src/struct.dart",
+ "src/stub.dart",
+ "src/types.dart",
+]
+
+dart_package("dart") {
+ # This base dir ensures that Dart's Mojo SDK can be imported with, e.g.,
+ # import 'package:mojo/public/dart/core.dart' even when the Mojo SDK lives
+ # somewhere else in the source tree.
+ base_dir = rebase_path("../../$mojo_root", ".", ".")
+ sources = dart_mojo_sdk_sources
+ deps = [
+ "../interfaces/application",
+ ]
+}
« no previous file with comments | « mojo/dart/test/validation_test.dart ('k') | mojo/public/dart/application.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698