OLD | NEW |
---|---|
1 # Copyright 2016 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("//services/service_manager/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
6 import("//services/service_manager/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 service("mus_demo") { | 9 service("mus_demo") { |
10 sources = [ | 10 sources = [ |
11 "main.cc", | |
12 "mus_demo_service.cc", | |
13 "mus_demo_service.h", | |
14 ] | |
15 | |
16 deps = [ | |
17 ":mus_demo_lib", | |
18 "//mojo/public/cpp/bindings", | |
19 "//services/service_manager/public/cpp", | |
20 "//services/service_manager/public/cpp:sources", | |
21 "//services/ui/public/cpp", | |
22 "//services/ui/public/cpp:internal", | |
23 "//services/ui/public/interfaces", | |
tonikitoo
2016/10/19 19:34:07
do we need to duplicate most of the dependencies i
Jay Civelli
2016/10/19 20:00:13
Good point, simplified.
| |
24 ] | |
25 | |
26 data_deps = [ | |
27 ":manifest", | |
28 ] | |
29 } | |
30 | |
31 static_library("mus_demo_lib") { | |
32 sources = [ | |
11 "bitmap_uploader.cc", | 33 "bitmap_uploader.cc", |
12 "bitmap_uploader.h", | 34 "bitmap_uploader.h", |
13 "main.cc", | |
14 "mus_demo.cc", | 35 "mus_demo.cc", |
15 "mus_demo.h", | 36 "mus_demo.h", |
16 ] | 37 ] |
17 | 38 |
18 deps = [ | 39 deps = [ |
19 "//base", | 40 "//base", |
20 "//mojo/public/cpp/bindings", | 41 "//mojo/public/cpp/bindings", |
21 "//services/service_manager/public/cpp", | 42 "//services/service_manager/public/cpp", |
22 "//services/service_manager/public/cpp:sources", | 43 "//services/service_manager/public/cpp:sources", |
23 "//services/ui/public/cpp", | 44 "//services/ui/public/cpp", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 ":mus_demo", | 86 ":mus_demo", |
66 ":test_manifest", | 87 ":test_manifest", |
67 ] | 88 ] |
68 } | 89 } |
69 | 90 |
70 group("demo") { | 91 group("demo") { |
71 deps = [ | 92 deps = [ |
72 ":mus_demo", | 93 ":mus_demo", |
73 ] | 94 ] |
74 } | 95 } |
OLD | NEW |