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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//services/service_manager/public/cpp/service.gni") | 6 import("//services/service_manager/public/cpp/service.gni") |
7 import("//services/service_manager/public/service_manifest.gni") | 7 import("//services/service_manager/public/service_manifest.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 source_set("lib") { | 10 source_set("lib") { |
11 sources = [ | 11 sources = [ |
12 "touch_hud_application.cc", | 12 "touch_hud_application.cc", |
13 "touch_hud_application.h", | 13 "touch_hud_application.h", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 "//ash/public/cpp:ash_public_cpp", | 17 "//ash/public/cpp:ash_public_cpp", |
18 "//ash/touch_hud", | 18 "//ash/touch_hud", |
19 "//base", | 19 "//base", |
20 "//mash/public/interfaces", | 20 "//mash/public/interfaces", |
21 "//mojo/common", | 21 "//mojo/common", |
22 "//mojo/public/cpp/bindings", | 22 "//mojo/public/cpp/bindings", |
23 "//services/service_manager/public/cpp", | 23 "//services/service_manager/public/cpp", |
24 "//services/service_manager/public/cpp:sources", | 24 "//services/service_manager/public/cpp", |
25 "//services/ui/public/cpp", | 25 "//services/ui/public/cpp", |
26 "//services/ui/public/interfaces", | 26 "//services/ui/public/interfaces", |
27 "//ui/views", | 27 "//ui/views", |
28 "//ui/views/mus:for_mojo_application", | 28 "//ui/views/mus:for_mojo_application", |
29 ] | 29 ] |
30 | 30 |
31 data_deps = [ | 31 data_deps = [ |
32 "//services/ui", | 32 "//services/ui", |
33 ] | 33 ] |
34 } | 34 } |
35 | 35 |
36 service("touch_hud") { | 36 service("touch_hud") { |
37 sources = [ | 37 sources = [ |
38 "main.cc", | 38 "main.cc", |
39 ] | 39 ] |
40 | 40 |
41 deps = [ | 41 deps = [ |
42 ":lib", | 42 ":lib", |
43 "//base", | 43 "//base", |
44 "//mojo/public/cpp/bindings", | 44 "//mojo/public/cpp/bindings", |
45 "//services/service_manager/public/cpp", | 45 "//services/service_manager/public/cpp", |
46 "//services/service_manager/public/cpp:sources", | 46 "//services/service_manager/public/cpp", |
47 "//ui/views/mus:for_mojo_application", | 47 "//ui/views/mus:for_mojo_application", |
48 ] | 48 ] |
49 | 49 |
50 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 50 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
51 } | 51 } |
52 | 52 |
53 service_manifest("manifest") { | 53 service_manifest("manifest") { |
54 name = "touch_hud" | 54 name = "touch_hud" |
55 source = "manifest.json" | 55 source = "manifest.json" |
56 } | 56 } |
OLD | NEW |