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