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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
7
8 group("indirect_service") {
9 deps = [
10 ":indirect_service_demo",
11 ":indirect_integer_service",
12 ":integer_service",
13 ]
14 }
15
16 mojo_native_application("indirect_service_demo") {
17 output_name = "indirect_service_demo"
18
19 deps = [
20 ":bindings",
21 "//base",
22 "//mojo/application",
23 "//mojo/common",
24 "//mojo/environment:chromium",
25 "//mojo/public/c/system:for_shared_library",
26 "//mojo/public/cpp/bindings",
27 "//mojo/public/cpp/utility",
28 ]
29
30 sources = [ "indirect_service_demo.cc" ]
yzshen1 2014/11/20 18:17:17 style nit: sources before deps, please. https://co
hansmuller 2014/11/20 19:27:59 Done.
31 }
32
33 mojo_native_application("integer_service") {
34 output_name = "integer_service"
35
36 deps = [
37 ":bindings",
38 "//mojo/public/c/system:for_shared_library",
39 "//mojo/public/cpp/application:standalone",
40 "//mojo/public/cpp/bindings",
41 "//mojo/public/cpp/utility",
42 ]
43
44 sources = [ "integer_service.cc" ]
45 }
46
47 mojo_native_application("indirect_integer_service") {
48 output_name = "indirect_integer_service"
49
50 deps = [
51 ":bindings",
52 "//mojo/public/c/system:for_shared_library",
53 "//mojo/public/cpp/application:standalone",
54 "//mojo/public/cpp/bindings",
55 "//mojo/public/cpp/utility",
56 ]
57
58 sources = [ "indirect_integer_service.cc" ]
59 }
60
61 mojom("bindings") {
62 sources = [ "indirect_service_demo.mojom" ]
63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698