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

Unified Diff: sky/engine/bindings2/BUILD.gn

Issue 919883002: Allow sky apps to be consumers of mojo services (Closed) Base URL: https://github.com/eseidel/skydart.git@master
Patch Set: cr comments Created 5 years, 10 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/public/dart/src/application.dart ('k') | sky/engine/bindings2/builtin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/bindings2/BUILD.gn
diff --git a/sky/engine/bindings2/BUILD.gn b/sky/engine/bindings2/BUILD.gn
index 73757880fed6fa11e0243c943bdc19e2fd18c61b..b1467e8d6fbc1169cc59bd3f1aef53b06447e94f 100644
--- a/sky/engine/bindings2/BUILD.gn
+++ b/sky/engine/bindings2/BUILD.gn
@@ -23,6 +23,8 @@ source_set("bindings2") {
"exception_state.h",
"exception_state_placeholder.cc",
"exception_state_placeholder.h",
+ "mojo_natives.cc",
+ "mojo_natives.h",
"nullable.h",
"scheduled_action.cc",
"scheduled_action.h",
@@ -30,6 +32,8 @@ source_set("bindings2") {
deps = [
"//base",
"//dart/runtime/bin:libdart_withcore",
+ "//mojo/public/c/system",
+ "//mojo/public/cpp/system",
"//sky/engine/platform:platform",
"//sky/engine/tonic",
"//sky/engine/wtf",
@@ -50,6 +54,24 @@ action("generate_snapshot_bin") {
inputs = [
"//dart/runtime/tools/create_snapshot_bin.py",
"//sky/engine/bindings2/builtin.dart",
+ "//mojo/public/dart/bindings.dart",
+ "//mojo/public/dart/core.dart",
+ "//mojo/public/dart/src/application.dart",
+ "//mojo/public/dart/src/buffer.dart",
+ "//mojo/public/dart/src/codec.dart",
+ "//mojo/public/dart/src/data_pipe.dart",
+ "//mojo/public/dart/src/drain_data.dart",
+ "//mojo/public/dart/src/event_stream.dart",
+ "//mojo/public/dart/src/handle.dart",
+ "//mojo/public/dart/src/handle_watcher.dart",
+ "//mojo/public/dart/src/message.dart",
+ "//mojo/public/dart/src/message_pipe.dart",
+ "//mojo/public/dart/src/proxy.dart",
+ "//mojo/public/dart/src/service_provider.dart",
+ "//mojo/public/dart/src/struct.dart",
+ "//mojo/public/dart/src/stub.dart",
+ "//mojo/public/dart/src/timer_queue.dart",
+ "//mojo/public/dart/src/types.dart",
"snapshot.dart",
]
output = "$target_gen_dir/snapshot_gen.bin"
@@ -59,6 +81,8 @@ action("generate_snapshot_bin") {
builtin_path = rebase_path("//sky/engine/bindings2/builtin.dart")
sky_core_path = rebase_path("$bindings_output_dir/sky_core.dart")
+ mojo_bindings_path = rebase_path("//mojo/public/dart/bindings.dart")
+ mojo_core_path = rebase_path("//mojo/public/dart/core.dart")
gen_snapshot_dir =
get_label_info("//dart/runtime/bin:gen_snapshot($host_toolchain)",
@@ -77,6 +101,8 @@ action("generate_snapshot_bin") {
"--target_os",
os,
"--url_mapping=dart:sky,$sky_core_path",
+ "--url_mapping=dart:mojo_bindings,$mojo_bindings_path",
+ "--url_mapping=dart:mojo_core,$mojo_core_path",
"--url_mapping=dart:sky_builtin,$builtin_path",
]
}
« no previous file with comments | « mojo/public/dart/src/application.dart ('k') | sky/engine/bindings2/builtin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698