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 ] |
| 22 |
| 23 data_deps = [ |
| 24 ":manifest", |
| 25 ] |
| 26 } |
| 27 |
| 28 static_library("mus_demo_lib") { |
| 29 sources = [ |
11 "bitmap_uploader.cc", | 30 "bitmap_uploader.cc", |
12 "bitmap_uploader.h", | 31 "bitmap_uploader.h", |
13 "main.cc", | |
14 "mus_demo.cc", | 32 "mus_demo.cc", |
15 "mus_demo.h", | 33 "mus_demo.h", |
16 ] | 34 ] |
17 | 35 |
| 36 public_deps = [ |
| 37 "//skia", |
| 38 ] |
| 39 |
18 deps = [ | 40 deps = [ |
19 "//base", | 41 "//base", |
20 "//mojo/public/cpp/bindings", | 42 "//mojo/public/cpp/bindings", |
21 "//services/service_manager/public/cpp", | 43 "//services/service_manager/public/cpp", |
22 "//services/service_manager/public/cpp:sources", | |
23 "//services/ui/public/cpp", | 44 "//services/ui/public/cpp", |
24 "//services/ui/public/cpp:internal", | 45 "//services/ui/public/cpp:internal", |
25 "//services/ui/public/interfaces", | 46 "//services/ui/public/interfaces", |
26 "//skia", | |
27 "//ui/gfx/geometry", | 47 "//ui/gfx/geometry", |
28 ] | 48 ] |
29 | 49 |
30 data_deps = [ | 50 data_deps = [ |
31 ":manifest", | 51 ":manifest", |
32 "//services/ui", | 52 "//services/ui", |
33 ] | 53 ] |
34 } | 54 } |
35 | 55 |
36 service_manifest("manifest") { | 56 service_manifest("manifest") { |
(...skipping 28 matching lines...) Expand all Loading... |
65 ":mus_demo", | 85 ":mus_demo", |
66 ":test_manifest", | 86 ":test_manifest", |
67 ] | 87 ] |
68 } | 88 } |
69 | 89 |
70 group("demo") { | 90 group("demo") { |
71 deps = [ | 91 deps = [ |
72 ":mus_demo", | 92 ":mus_demo", |
73 ] | 93 ] |
74 } | 94 } |
OLD | NEW |