| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 ":copy_unittest_assets", | 294 ":copy_unittest_assets", |
| 295 ] | 295 ] |
| 296 dir = html_viewer_unittests_assets | 296 dir = html_viewer_unittests_assets |
| 297 } | 297 } |
| 298 } | 298 } |
| 299 | 299 |
| 300 test("html_viewer_unittests") { | 300 test("html_viewer_unittests") { |
| 301 sources = [ | 301 sources = [ |
| 302 "ax_provider_impl_unittest.cc", | 302 "ax_provider_impl_unittest.cc", |
| 303 "discardable_memory_allocator_unittest.cc", | 303 "discardable_memory_allocator_unittest.cc", |
| 304 "input_events_unittest.cc", | |
| 305 "run_all_unittests.cc", | 304 "run_all_unittests.cc", |
| 306 ] | 305 ] |
| 307 deps = [ | 306 deps = [ |
| 308 ":lib", | 307 ":lib", |
| 309 ":pak", | 308 ":pak", |
| 310 "//base/test:test_support", | 309 "//base/test:test_support", |
| 311 "//components/scheduler", | 310 "//components/scheduler", |
| 312 "//gin", | 311 "//gin", |
| 313 "//mojo/converters/input_events", | |
| 314 "//testing/gtest:gtest", | 312 "//testing/gtest:gtest", |
| 315 "//third_party/mojo/src/mojo/edk/system", | 313 "//third_party/mojo/src/mojo/edk/system", |
| 316 "//ui/base", | 314 "//ui/base", |
| 317 "//ui/mojo/init", | 315 "//ui/mojo/init", |
| 318 ] | 316 ] |
| 319 | 317 |
| 320 if (is_android) { | 318 if (is_android) { |
| 321 deps += [ ":build_unittest_assets" ] | 319 deps += [ ":build_unittest_assets" ] |
| 322 apk_asset_location = html_viewer_unittests_assets | 320 apk_asset_location = html_viewer_unittests_assets |
| 323 } | 321 } |
| (...skipping 27 matching lines...) Expand all Loading... |
| 351 | 349 |
| 352 data_deps = [ | 350 data_deps = [ |
| 353 ":html_viewer", | 351 ":html_viewer", |
| 354 "//components/mus", | 352 "//components/mus", |
| 355 ] | 353 ] |
| 356 | 354 |
| 357 if (is_linux && !is_android) { | 355 if (is_linux && !is_android) { |
| 358 data_deps += [ "//components/font_service" ] | 356 data_deps += [ "//components/font_service" ] |
| 359 } | 357 } |
| 360 } | 358 } |
| OLD | NEW |