OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/module_args/v8.gni") | 5 import("//build/module_args/v8.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 "//base:i18n", | 140 "//base:i18n", |
141 "//base/third_party/dynamic_annotations", | 141 "//base/third_party/dynamic_annotations", |
142 "//cc", | 142 "//cc", |
143 "//cc/blink", | 143 "//cc/blink", |
144 "//cc/surfaces", | 144 "//cc/surfaces", |
145 "//components/clipboard/public/interfaces", | 145 "//components/clipboard/public/interfaces", |
146 "//components/devtools_service/public/interfaces", | 146 "//components/devtools_service/public/interfaces", |
147 "//components/html_viewer/public/interfaces", | 147 "//components/html_viewer/public/interfaces", |
148 "//components/message_port", | 148 "//components/message_port", |
149 "//components/mime_util", | 149 "//components/mime_util", |
| 150 "//components/mus/gles2:lib", |
| 151 "//components/mus/public/interfaces", |
150 "//components/resource_provider/public/cpp", | 152 "//components/resource_provider/public/cpp", |
151 "//components/resource_provider/public/interfaces", | 153 "//components/resource_provider/public/interfaces", |
152 "//components/scheduler:scheduler", | 154 "//components/scheduler:scheduler", |
153 "//components/startup_metric_utils", | 155 "//components/startup_metric_utils", |
154 "//components/view_manager/gles2:lib", | |
155 "//components/view_manager/public/interfaces", | |
156 "//components/webcrypto", | 156 "//components/webcrypto", |
157 "//components/web_view:switches", | 157 "//components/web_view:switches", |
158 "//components/web_view/public/interfaces", | 158 "//components/web_view/public/interfaces", |
159 "//gin", | 159 "//gin", |
160 "//media", | 160 "//media", |
161 "//media/blink", | 161 "//media/blink", |
162 "//media/mojo", | 162 "//media/mojo", |
163 "//mojo/application/public/cpp", | 163 "//mojo/application/public/cpp", |
164 "//mojo/application/public/interfaces", | 164 "//mojo/application/public/interfaces", |
165 "//mojo/cc", | 165 "//mojo/cc", |
(...skipping 20 matching lines...) Expand all Loading... |
186 "//ui/gfx", | 186 "//ui/gfx", |
187 "//ui/gfx/geometry", | 187 "//ui/gfx/geometry", |
188 "//ui/mojo/geometry:interfaces_cpp_sources", | 188 "//ui/mojo/geometry:interfaces_cpp_sources", |
189 "//ui/mojo/ime:interfaces_cpp_sources", | 189 "//ui/mojo/ime:interfaces_cpp_sources", |
190 "//ui/mojo/init", | 190 "//ui/mojo/init", |
191 "//ui/native_theme", | 191 "//ui/native_theme", |
192 "//url", | 192 "//url", |
193 ] | 193 ] |
194 | 194 |
195 public_deps = [ | 195 public_deps = [ |
196 "//components/view_manager/public/cpp", | 196 "//components/mus/public/cpp", |
197 "//third_party/WebKit/public:blink", | 197 "//third_party/WebKit/public:blink", |
198 "//third_party/mojo/src/mojo/public/cpp/bindings", | 198 "//third_party/mojo/src/mojo/public/cpp/bindings", |
199 ] | 199 ] |
200 | 200 |
201 if (is_win) { | 201 if (is_win) { |
202 sources += [ "html_viewer_version.rc" ] | 202 sources += [ "html_viewer_version.rc" ] |
203 } | 203 } |
204 | 204 |
205 if (is_linux && !is_android) { | 205 if (is_linux && !is_android) { |
206 deps += [ "//components/font_service/public/cpp" ] | 206 deps += [ "//components/font_service/public/cpp" ] |
207 } | 207 } |
208 | 208 |
209 data_deps = [ | 209 data_deps = [ |
210 "//components/clipboard", | 210 "//components/clipboard", |
211 "//components/view_manager", | 211 "//components/mus", |
212 "//mojo/services/network:network", | 212 "//mojo/services/network:network", |
213 "//mojo/services/tracing", | 213 "//mojo/services/tracing", |
214 ] | 214 ] |
215 } | 215 } |
216 | 216 |
217 mojo_native_application("html_viewer") { | 217 mojo_native_application("html_viewer") { |
218 sources = [ | 218 sources = [ |
219 "html_viewer_main.cc", | 219 "html_viewer_main.cc", |
220 ] | 220 ] |
221 deps = [ | 221 deps = [ |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 testonly = true | 326 testonly = true |
327 | 327 |
328 sources = [ | 328 sources = [ |
329 "ax_provider_apptest.cc", | 329 "ax_provider_apptest.cc", |
330 "html_frame_apptest.cc", | 330 "html_frame_apptest.cc", |
331 ] | 331 ] |
332 | 332 |
333 deps = [ | 333 deps = [ |
334 "//base", | 334 "//base", |
335 "//components/html_viewer/public/interfaces", | 335 "//components/html_viewer/public/interfaces", |
| 336 "//components/mus/public/cpp", |
| 337 "//components/mus/public/cpp/tests:test_support", |
336 "//components/scheduler", | 338 "//components/scheduler", |
337 "//components/view_manager/public/cpp", | |
338 "//components/view_manager/public/cpp/tests:test_support", | |
339 "//components/web_view:lib", | 339 "//components/web_view:lib", |
340 "//components/web_view:test_support", | 340 "//components/web_view:test_support", |
341 "//components/web_view/public/interfaces", | 341 "//components/web_view/public/interfaces", |
342 "//mojo/application/public/cpp:sources", | 342 "//mojo/application/public/cpp:sources", |
343 "//mojo/application/public/cpp:test_support", | 343 "//mojo/application/public/cpp:test_support", |
344 "//net:test_support", | 344 "//net:test_support", |
345 "//testing/gtest", | 345 "//testing/gtest", |
346 "//third_party/mojo_services/src/accessibility/public/interfaces", | 346 "//third_party/mojo_services/src/accessibility/public/interfaces", |
347 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", | 347 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", |
348 ] | 348 ] |
349 | 349 |
350 data_deps = [ | 350 data_deps = [ |
351 ":html_viewer", | 351 ":html_viewer", |
352 "//components/view_manager", | 352 "//components/mus", |
353 ] | 353 ] |
354 | 354 |
355 if (is_linux && !is_android) { | 355 if (is_linux && !is_android) { |
356 data_deps += [ "//components/font_service" ] | 356 data_deps += [ "//components/font_service" ] |
357 } | 357 } |
358 } | 358 } |
OLD | NEW |