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

Unified Diff: examples/indirect_service/BUILD.gn

Issue 733563002: Mojo Example that demos the difference between providing and requesting an interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed Android build 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 | « examples/BUILD.gn ('k') | examples/indirect_service/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/indirect_service/BUILD.gn
diff --git a/examples/indirect_service/BUILD.gn b/examples/indirect_service/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..0c56928eb863c6f56efdbbcf42c3ae752abbf156
--- /dev/null
+++ b/examples/indirect_service/BUILD.gn
@@ -0,0 +1,63 @@
+# 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.
+
+import("//mojo/public/mojo_application.gni")
+import("//mojo/public/tools/bindings/mojom.gni")
+
+group("indirect_service") {
+ deps = [
+ ":indirect_service_demo",
+ ":indirect_integer_service",
+ ":integer_service",
+ ]
+}
+
+mojo_native_application("indirect_service_demo") {
+ output_name = "indirect_service_demo"
+
+ sources = [ "indirect_service_demo.cc" ]
+
+ deps = [
+ ":bindings",
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ "//mojo/public/c/system:for_shared_library",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/utility",
+ ]
+}
+
+mojo_native_application("integer_service") {
+ output_name = "integer_service"
+
+ sources = [ "integer_service.cc" ]
+
+ deps = [
+ ":bindings",
+ "//mojo/public/c/system:for_shared_library",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/utility",
+ ]
+}
+
+mojo_native_application("indirect_integer_service") {
+ output_name = "indirect_integer_service"
+
+ sources = [ "indirect_integer_service.cc" ]
+
+ deps = [
+ ":bindings",
+ "//mojo/public/c/system:for_shared_library",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/utility",
+ ]
+}
+
+mojom("bindings") {
+ sources = [ "indirect_service_demo.mojom" ]
+}
« no previous file with comments | « examples/BUILD.gn ('k') | examples/indirect_service/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698