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

Side by Side Diff: examples/hello_mojo/BUILD.gn

Issue 1702103002: Add an even simpler standalone example. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 group("bank_app") { 8 group("hello_mojo") {
9 deps = [ 9 deps = [
10 ":customer", 10 ":hello_mojo_client",
11 ":bank", 11 ":hello_mojo_server",
12 ] 12 ]
13 } 13 }
14 14
15 mojo_native_application("customer") { 15 mojo_native_application("hello_mojo_client") {
16 output_name = "customer"
17
18 deps = [ 16 deps = [
19 ":bindings", 17 ":hello_mojo_interface",
18 "//mojo/public/c/system",
20 "//mojo/public/cpp/application:standalone", 19 "//mojo/public/cpp/application:standalone",
21 "//mojo/public/cpp/bindings", 20 "//mojo/public/cpp/bindings",
21 "//mojo/public/cpp/system",
22 "//mojo/public/cpp/utility", 22 "//mojo/public/cpp/utility",
23 "//mojo/services/vanadium/security/interfaces",
24 ] 23 ]
25 24
26 sources = [ 25 sources = [
27 "customer.cc", 26 "hello_mojo_client.cc",
28 ] 27 ]
29 } 28 }
30 29
31 mojo_native_application("bank") { 30 mojo_native_application("hello_mojo_server") {
32 output_name = "bank"
33
34 deps = [ 31 deps = [
35 ":bindings", 32 ":hello_mojo_interface",
36 "//mojo/common", 33 "//mojo/public/c/system",
37 "//mojo/public/cpp/application:standalone", 34 "//mojo/public/cpp/application:standalone",
38 "//mojo/public/cpp/bindings", 35 "//mojo/public/cpp/bindings",
36 "//mojo/public/cpp/system",
39 "//mojo/public/cpp/utility", 37 "//mojo/public/cpp/utility",
40 "//mojo/services/vanadium/security/interfaces",
41 ] 38 ]
42 39
43 sources = [ 40 sources = [
44 "bank.cc", 41 "hello_mojo_server.cc",
45 ] 42 ]
46 } 43 }
47 44
48 mojom("bindings") { 45 mojom("hello_mojo_interface") {
49 sources = [ 46 sources = [
50 "bank.mojom", 47 "hello_mojo.mojom",
51 ] 48 ]
52 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698