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

Unified Diff: mojo/dart/BUILD.gn

Issue 674383002: Initial work on Dart bindings for Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Merge. Work on templates. 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/BUILD.gn ('k') | mojo/dart/system/mojo_dart_embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/BUILD.gn
diff --git a/mojo/dart/BUILD.gn b/mojo/dart/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..2073a547bafa6a4296433c7d0707d1a3d7625b9c
--- /dev/null
+++ b/mojo/dart/BUILD.gn
@@ -0,0 +1,40 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+group("dart") {
+ deps = [
+ ":embedder",
+ ]
+}
+
+group("embedder") {
+ deps = [
+ ":mojo_dart_embedder",
+ ":copy_embedder",
+ ]
+}
+
+shared_library("mojo_dart_embedder") {
+ dart_flags = "//mojo/dart/tools/find_api_include_path.py"
+ include_dirs = exec_script(dart_flags, [], "list lines")
+ defines = ["DART_SHARED_LIB"]
+ sources = [
+ "system/mojo_dart_embedder.cc",
+ ]
+ deps = [
+ "//mojo/edk/system",
+ ]
+}
+
+copy("copy_embedder") {
+ sources = [
+ "$root_out_dir/libmojo_dart_embedder.so",
+ ]
+ outputs = [
+ "$root_out_dir/gen/mojo/public/dart/system/lib/src/libmojo_dart_embedder.so"
+ ]
+ deps =[
+ ":mojo_dart_embedder"
+ ]
+}
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/dart/system/mojo_dart_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698