OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/ui.gni") | |
6 import("//services/service_manager/public/cpp/service.gni") | |
7 import("//services/service_manager/public/service_manifest.gni") | |
8 import("//mojo/public/tools/bindings/mojom.gni") | |
9 import("//tools/grit/repack.gni") | |
10 | |
11 source_set("lib") { | |
12 testonly = true | |
13 sources = [ | |
14 "browser.cc", | |
15 "browser.h", | |
16 "debug_view.cc", | |
17 "debug_view.h", | |
18 ] | |
19 | |
20 deps = [ | |
21 "//base", | |
22 "//content/public/common:service_names", | |
23 "//mash/public/interfaces", | |
24 "//mojo/public/cpp/bindings", | |
25 "//services/catalog/public/interfaces", | |
26 "//services/navigation/public/cpp", | |
27 "//services/navigation/public/interfaces", | |
28 "//services/service_manager/public/cpp", | |
29 "//services/service_manager/public/interfaces", | |
30 "//ui/aura", | |
31 "//ui/gfx/geometry/mojo", | |
32 "//ui/native_theme", | |
33 "//ui/views", | |
34 "//ui/views/mus:for_mojo_application", | |
35 "//url", | |
36 ] | |
37 | |
38 data_deps = [ | |
39 "//services/navigation", | |
40 ] | |
41 } | |
42 | |
43 service("browser") { | |
44 testonly = true | |
45 sources = [ | |
46 "main.cc", | |
47 ] | |
48 | |
49 deps = [ | |
50 ":lib", | |
51 "//services/service_manager/public/cpp", | |
52 "//ui/views/mus:for_mojo_application", | |
53 ] | |
54 | |
55 resources = [ "$root_out_dir/views_mus_resources.pak" ] | |
56 | |
57 data_deps = [ | |
58 "//services/ui", | |
59 ] | |
60 } | |
61 | |
62 service_manifest("manifest") { | |
63 name = "browser" | |
64 source = "manifest.json" | |
65 } | |
OLD | NEW |