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("//services/service_manager/public/cpp/service.gni") | |
6 import("//services/service_manager/public/service_manifest.gni") | |
7 import("//services/service_manager/public/tools/test/service_test.gni") | |
8 import("//testing/test.gni") | |
9 import("//tools/grit/repack.gni") | |
10 | |
11 group("all") { | |
12 testonly = true | |
13 data_deps = [ | |
14 ":navigation", | |
15 ":navigation_unittests", | |
16 ] | |
17 } | |
18 | |
19 source_set("navigation") { | |
20 sources = [ | |
21 "navigation.cc", | |
22 "navigation.h", | |
23 "view_impl.cc", | |
24 "view_impl.h", | |
25 ] | |
26 | |
27 public_deps = [ | |
28 "//base", | |
29 "//content/public/common", | |
30 "//mojo/public/cpp/bindings", | |
31 "//services/navigation/public/interfaces", | |
32 "//services/service_manager/public/cpp", | |
33 "//services/ui/public/interfaces", | |
34 "//ui/aura", | |
35 ] | |
36 | |
37 deps = [ | |
38 "//content/public/browser", | |
39 "//skia", | |
40 "//ui/gfx/geometry/mojo", | |
41 "//ui/views", | |
42 "//ui/views/controls/webview", | |
43 "//ui/views/mus", | |
44 ] | |
45 } | |
46 | |
47 service_test("navigation_unittests") { | |
48 sources = [ | |
49 "navigation_unittest.cc", | |
50 ] | |
51 | |
52 catalog = ":navigation_unittests_catalog" | |
53 | |
54 deps = [ | |
55 "//base", | |
56 "//mojo/public/cpp/bindings", | |
57 "//services/navigation/public/interfaces", | |
58 "//services/service_manager/public/cpp", | |
59 "//services/service_manager/public/cpp:service_test_support", | |
60 "//services/service_manager/public/interfaces", | |
61 "//testing/gtest", | |
62 ] | |
63 | |
64 data_deps = [ | |
65 "//content/shell:content_shell", | |
66 "//services/ui/test_wm", | |
67 ] | |
68 } | |
69 | |
70 service_manifest("manifest") { | |
71 name = "navigation" | |
72 source = "manifest.json" | |
73 } | |
74 | |
75 service_manifest("unittest_manifest") { | |
76 name = "navigation_unittests" | |
77 source = "unittest_manifest.json" | |
78 } | |
79 | |
80 catalog("navigation_unittests_catalog") { | |
81 embedded_services = [ ":unittest_manifest" ] | |
82 standalone_services = [ | |
83 ":manifest", | |
84 "//services/ui:manifest", | |
85 "//services/ui/test_wm:manifest", | |
86 ] | |
87 } | |
OLD | NEW |