| 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 "run_all_unittests.cc", | 312 "run_all_unittests.cc", |
| 313 ] | 313 ] |
| 314 deps = [ | 314 deps = [ |
| 315 ":lib", | 315 ":lib", |
| 316 ":pak", | 316 ":pak", |
| 317 "//base/test:test_support", | 317 "//base/test:test_support", |
| 318 "//components/scheduler", | 318 "//components/scheduler", |
| 319 "//gin", | 319 "//gin", |
| 320 "//mojo/converters/input_events", | 320 "//mojo/converters/input_events", |
| 321 "//testing/gtest:gtest", | 321 "//testing/gtest:gtest", |
| 322 "//third_party/mojo/src/mojo/edk/system", | |
| 323 "//ui/base", | 322 "//ui/base", |
| 324 "//ui/events", | 323 "//ui/events", |
| 325 "//ui/events:test_support", | 324 "//ui/events:test_support", |
| 326 "//ui/mojo/init", | 325 "//ui/mojo/init", |
| 327 ] | 326 ] |
| 328 | 327 |
| 328 if (use_chrome_edk) { |
| 329 deps += [ "//mojo/edk/system" ] |
| 330 } else { |
| 331 deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 332 } |
| 333 |
| 329 if (is_android) { | 334 if (is_android) { |
| 330 deps += [ ":build_unittest_assets" ] | 335 deps += [ ":build_unittest_assets" ] |
| 331 apk_asset_location = html_viewer_unittests_assets | 336 apk_asset_location = html_viewer_unittests_assets |
| 332 } | 337 } |
| 333 } | 338 } |
| 334 | 339 |
| 335 mojo_native_application("apptests") { | 340 mojo_native_application("apptests") { |
| 336 output_name = "html_viewer_apptests" | 341 output_name = "html_viewer_apptests" |
| 337 testonly = true | 342 testonly = true |
| 338 | 343 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 360 | 365 |
| 361 data_deps = [ | 366 data_deps = [ |
| 362 ":html_viewer", | 367 ":html_viewer", |
| 363 "//components/mus", | 368 "//components/mus", |
| 364 ] | 369 ] |
| 365 | 370 |
| 366 if (is_linux && !is_android) { | 371 if (is_linux && !is_android) { |
| 367 data_deps += [ "//components/font_service" ] | 372 data_deps += [ "//components/font_service" ] |
| 368 } | 373 } |
| 369 } | 374 } |
| OLD | NEW |