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("//services/shell/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 group("all") { | 10 group("all") { |
11 testonly = true | 11 testonly = true |
12 data_deps = [ | 12 data_deps = [ |
13 ":navigation", | 13 ":navigation", |
14 ":navigation_unittests", | 14 ":navigation_unittests", |
15 ] | 15 ] |
16 } | 16 } |
17 | 17 |
18 executable("navigation") { | 18 executable("navigation") { |
19 testonly = true | 19 testonly = true |
20 sources = [ | 20 sources = [ |
21 "main.cc", | 21 "main.cc", |
22 ] | 22 ] |
23 | 23 |
24 deps = [ | 24 deps = [ |
25 ":lib", | 25 ":lib", |
26 ":pak", | 26 ":pak", |
27 "//base", | 27 "//base", |
28 "//build/win:default_exe_manifest", | 28 "//build/win:default_exe_manifest", |
29 "//content", | 29 "//content", |
30 "//content/public/app:both", | 30 "//content/public/app:both", |
31 "//mojo/public/cpp/bindings", | 31 "//mojo/public/cpp/bindings", |
32 "//services/navigation/content_client", | 32 "//services/navigation/content_client", |
33 "//services/shell/runner:init", | 33 "//services/service_manager/runner:init", |
34 "//services/shell/runner/common", | 34 "//services/service_manager/runner/common", |
35 "//services/ui/public/cpp", | 35 "//services/ui/public/cpp", |
36 "//ui/views", | 36 "//ui/views", |
37 "//ui/views/controls/webview", | 37 "//ui/views/controls/webview", |
38 "//ui/views/mus", | 38 "//ui/views/mus", |
39 ] | 39 ] |
40 | 40 |
41 data_deps = [ | 41 data_deps = [ |
42 ":manifest", | 42 ":manifest", |
43 "//services/ui/test_wm", | 43 "//services/ui/test_wm", |
44 ] | 44 ] |
(...skipping 11 matching lines...) Expand all Loading... |
56 "navigation.h", | 56 "navigation.h", |
57 "view_impl.cc", | 57 "view_impl.cc", |
58 "view_impl.h", | 58 "view_impl.h", |
59 ] | 59 ] |
60 | 60 |
61 public_deps = [ | 61 public_deps = [ |
62 "//base", | 62 "//base", |
63 "//content/public/common", | 63 "//content/public/common", |
64 "//mojo/public/cpp/bindings", | 64 "//mojo/public/cpp/bindings", |
65 "//services/navigation/public/interfaces", | 65 "//services/navigation/public/interfaces", |
66 "//services/shell/public/cpp", | 66 "//services/service_manager/public/cpp", |
67 "//services/ui/public/cpp", | 67 "//services/ui/public/cpp", |
68 ] | 68 ] |
69 | 69 |
70 deps = [ | 70 deps = [ |
71 "//content/public/browser", | 71 "//content/public/browser", |
72 "//skia", | 72 "//skia", |
73 "//ui/gfx/geometry/mojo", | 73 "//ui/gfx/geometry/mojo", |
74 "//ui/views", | 74 "//ui/views", |
75 "//ui/views/controls/webview", | 75 "//ui/views/controls/webview", |
76 "//ui/views/mus", | 76 "//ui/views/mus", |
77 ] | 77 ] |
78 } | 78 } |
79 | 79 |
80 test("navigation_unittests") { | 80 test("navigation_unittests") { |
81 sources = [ | 81 sources = [ |
82 "navigation_unittest.cc", | 82 "navigation_unittest.cc", |
83 ] | 83 ] |
84 | 84 |
85 deps = [ | 85 deps = [ |
86 "//base", | 86 "//base", |
87 "//base/test:test_support", | 87 "//base/test:test_support", |
88 "//services/navigation/public/interfaces", | 88 "//services/navigation/public/interfaces", |
89 "//services/shell/public/cpp", | 89 "//services/service_manager/public/cpp", |
90 "//services/shell/public/cpp:service_test_support", | 90 "//services/service_manager/public/cpp:service_test_support", |
91 "//services/shell/public/cpp/test:run_all_shelltests", | 91 "//services/service_manager/public/cpp/test:run_all_shelltests", |
92 "//testing/gtest", | 92 "//testing/gtest", |
93 ] | 93 ] |
94 | 94 |
95 data_deps = [ | 95 data_deps = [ |
96 ":navigation", | 96 ":navigation", |
97 ":unittest_manifest", | 97 ":unittest_manifest", |
98 "//services/ui/test_wm", | 98 "//services/ui/test_wm", |
99 ] | 99 ] |
100 } | 100 } |
101 | 101 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 "//net:net_resources", | 139 "//net:net_resources", |
140 "//third_party/WebKit/public:image_resources", | 140 "//third_party/WebKit/public:image_resources", |
141 "//third_party/WebKit/public:resources", | 141 "//third_party/WebKit/public:resources", |
142 "//ui/resources", | 142 "//ui/resources", |
143 "//ui/strings", | 143 "//ui/strings", |
144 "//ui/views/resources", | 144 "//ui/views/resources", |
145 ] | 145 ] |
146 | 146 |
147 output = "$root_out_dir/navigation.pak" | 147 output = "$root_out_dir/navigation.pak" |
148 } | 148 } |
OLD | NEW |