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_overrides/v8.gni") | 5 import("//build_overrides/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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 if (is_linux && !is_android) { | 214 if (is_linux && !is_android) { |
215 deps += [ "//components/font_service/public/cpp" ] | 215 deps += [ "//components/font_service/public/cpp" ] |
216 } | 216 } |
217 | 217 |
218 data_deps = [ | 218 data_deps = [ |
219 "//components/clipboard", | 219 "//components/clipboard", |
220 "//components/mus/ws:lib", | 220 "//components/mus/ws:lib", |
221 "//mojo/services/network:network", | 221 "//mojo/services/network:network", |
222 "//mojo/services/tracing", | 222 "//mojo/services/tracing", |
223 ] | 223 ] |
| 224 |
| 225 configs += [ "//v8:external_startup_data" ] |
224 } | 226 } |
225 | 227 |
226 mojo_native_application("html_viewer") { | 228 mojo_native_application("html_viewer") { |
227 sources = [ | 229 sources = [ |
228 "html_viewer_main.cc", | 230 "html_viewer_main.cc", |
229 ] | 231 ] |
230 deps = [ | 232 deps = [ |
231 ":lib", | 233 ":lib", |
232 ":pak", | 234 ":pak", |
233 "//base", | 235 "//base", |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 "//ui/base", | 328 "//ui/base", |
327 "//ui/events", | 329 "//ui/events", |
328 "//ui/events:test_support", | 330 "//ui/events:test_support", |
329 "//ui/mojo/init", | 331 "//ui/mojo/init", |
330 ] | 332 ] |
331 | 333 |
332 if (is_android) { | 334 if (is_android) { |
333 deps += [ ":build_unittest_assets" ] | 335 deps += [ ":build_unittest_assets" ] |
334 apk_asset_location = html_viewer_unittests_assets | 336 apk_asset_location = html_viewer_unittests_assets |
335 } | 337 } |
| 338 |
| 339 configs += [ "//v8:external_startup_data" ] |
336 } | 340 } |
337 | 341 |
338 mojo_native_application("apptests") { | 342 mojo_native_application("apptests") { |
339 output_name = "html_viewer_apptests" | 343 output_name = "html_viewer_apptests" |
340 testonly = true | 344 testonly = true |
341 | 345 |
342 sources = [ | 346 sources = [ |
343 "ax_provider_apptest.cc", | 347 "ax_provider_apptest.cc", |
344 "html_frame_apptest.cc", | 348 "html_frame_apptest.cc", |
345 ] | 349 ] |
(...skipping 16 matching lines...) Expand all Loading... |
362 ] | 366 ] |
363 | 367 |
364 data_deps = [ | 368 data_deps = [ |
365 ":html_viewer", | 369 ":html_viewer", |
366 ] | 370 ] |
367 | 371 |
368 if (is_linux && !is_android) { | 372 if (is_linux && !is_android) { |
369 data_deps += [ "//components/font_service" ] | 373 data_deps += [ "//components/font_service" ] |
370 } | 374 } |
371 } | 375 } |
OLD | NEW |