| 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 if (v8_use_external_startup_data) { |
| 226 configs += [ "//v8:external_startup_data" ] |
| 227 } |
| 224 } | 228 } |
| 225 | 229 |
| 226 mojo_native_application("html_viewer") { | 230 mojo_native_application("html_viewer") { |
| 227 sources = [ | 231 sources = [ |
| 228 "html_viewer_main.cc", | 232 "html_viewer_main.cc", |
| 229 ] | 233 ] |
| 230 deps = [ | 234 deps = [ |
| 231 ":lib", | 235 ":lib", |
| 232 ":pak", | 236 ":pak", |
| 233 "//base", | 237 "//base", |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 "//ui/base", | 330 "//ui/base", |
| 327 "//ui/events", | 331 "//ui/events", |
| 328 "//ui/events:test_support", | 332 "//ui/events:test_support", |
| 329 "//ui/mojo/init", | 333 "//ui/mojo/init", |
| 330 ] | 334 ] |
| 331 | 335 |
| 332 if (is_android) { | 336 if (is_android) { |
| 333 deps += [ ":build_unittest_assets" ] | 337 deps += [ ":build_unittest_assets" ] |
| 334 apk_asset_location = html_viewer_unittests_assets | 338 apk_asset_location = html_viewer_unittests_assets |
| 335 } | 339 } |
| 340 |
| 341 if (v8_use_external_startup_data) { |
| 342 configs += [ "//v8:external_startup_data" ] |
| 343 } |
| 336 } | 344 } |
| 337 | 345 |
| 338 mojo_native_application("apptests") { | 346 mojo_native_application("apptests") { |
| 339 output_name = "html_viewer_apptests" | 347 output_name = "html_viewer_apptests" |
| 340 testonly = true | 348 testonly = true |
| 341 | 349 |
| 342 sources = [ | 350 sources = [ |
| 343 "ax_provider_apptest.cc", | 351 "ax_provider_apptest.cc", |
| 344 "html_frame_apptest.cc", | 352 "html_frame_apptest.cc", |
| 345 ] | 353 ] |
| (...skipping 16 matching lines...) Expand all Loading... |
| 362 ] | 370 ] |
| 363 | 371 |
| 364 data_deps = [ | 372 data_deps = [ |
| 365 ":html_viewer", | 373 ":html_viewer", |
| 366 ] | 374 ] |
| 367 | 375 |
| 368 if (is_linux && !is_android) { | 376 if (is_linux && !is_android) { |
| 369 data_deps += [ "//components/font_service" ] | 377 data_deps += [ "//components/font_service" ] |
| 370 } | 378 } |
| 371 } | 379 } |
| OLD | NEW |