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