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

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

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 years, 1 month 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/cpp/utility/tests/BUILD.gn ('k') | mojo/public/dart/DEPS » ('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
index 83c5a25284717efaeec04617b22446b2b606374a..89af889199be266210930255d2c881d7814d9c69 100644
--- a/mojo/public/dart/BUILD.gn
+++ b/mojo/public/dart/BUILD.gn
@@ -3,16 +3,63 @@
# found in the LICENSE file.
group("dart") {
+ testonly = true
deps = [
+ ":core",
":bindings",
]
}
+group("core") {
+ deps = [
+ ":mojo_dart_core",
+ ":copy_core_library",
+ ]
+}
+
+
+shared_library("mojo_dart_core") {
+ defines = ["DART_SHARED_LIB"]
+ sources = [
+ "src/mojo_dart_core.cc",
+ ]
+ deps = [
+ "//mojo/public/c/environment",
+ "//mojo/public/c/system:for_shared_library",
+ "//mojo/public/cpp/environment:standalone",
+ "//mojo/public/cpp/system",
+ "//mojo/public/cpp/utility",
+ "//mojo/public/cpp/bindings:callback",
+ ]
+}
+
+
+copy("copy_core_library") {
+ sources = [
+ "$root_out_dir/libmojo_dart_core.so",
+ ]
+ outputs = [
+ "$root_out_dir/gen/mojo/public/dart/src/libmojo_dart_core.so"
+ ]
+ deps =[
+ ":mojo_dart_core"
+ ]
+}
+
+
copy("bindings") {
sources = [
"bindings.dart",
+ "core.dart",
+ "mojo_init.dart",
+ "src/buffer.dart",
"src/codec.dart",
+ "src/data_pipe.dart",
+ "src/handle.dart",
+ "src/handle_watcher.dart",
+ "src/message_pipe.dart",
+ "src/types.dart",
]
outputs = [
"{{source_gen_dir}}/{{source_file_part}}"
« no previous file with comments | « mojo/public/cpp/utility/tests/BUILD.gn ('k') | mojo/public/dart/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698