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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 ":copy_unittest_assets", | 300 ":copy_unittest_assets", |
301 ] | 301 ] |
302 dir = html_viewer_unittests_assets | 302 dir = html_viewer_unittests_assets |
303 } | 303 } |
304 } | 304 } |
305 | 305 |
306 test("html_viewer_unittests") { | 306 test("html_viewer_unittests") { |
307 sources = [ | 307 sources = [ |
308 "ax_provider_impl_unittest.cc", | 308 "ax_provider_impl_unittest.cc", |
309 "discardable_memory_allocator_unittest.cc", | 309 "discardable_memory_allocator_unittest.cc", |
| 310 "input_events_unittest.cc", |
310 "run_all_unittests.cc", | 311 "run_all_unittests.cc", |
311 ] | 312 ] |
312 deps = [ | 313 deps = [ |
313 ":lib", | 314 ":lib", |
314 ":pak", | 315 ":pak", |
315 "//base/test:test_support", | 316 "//base/test:test_support", |
316 "//components/scheduler", | 317 "//components/scheduler", |
317 "//gin", | 318 "//gin", |
| 319 "//mojo/converters/input_events", |
318 "//testing/gtest:gtest", | 320 "//testing/gtest:gtest", |
319 "//third_party/mojo/src/mojo/edk/system", | 321 "//third_party/mojo/src/mojo/edk/system", |
320 "//ui/base", | 322 "//ui/base", |
| 323 "//ui/events", |
| 324 "//ui/events:test_support", |
321 "//ui/mojo/init", | 325 "//ui/mojo/init", |
322 ] | 326 ] |
323 | 327 |
324 if (is_android) { | 328 if (is_android) { |
325 deps += [ ":build_unittest_assets" ] | 329 deps += [ ":build_unittest_assets" ] |
326 apk_asset_location = html_viewer_unittests_assets | 330 apk_asset_location = html_viewer_unittests_assets |
327 } | 331 } |
328 } | 332 } |
329 | 333 |
330 mojo_native_application("apptests") { | 334 mojo_native_application("apptests") { |
(...skipping 24 matching lines...) Expand all Loading... |
355 | 359 |
356 data_deps = [ | 360 data_deps = [ |
357 ":html_viewer", | 361 ":html_viewer", |
358 "//components/mus", | 362 "//components/mus", |
359 ] | 363 ] |
360 | 364 |
361 if (is_linux && !is_android) { | 365 if (is_linux && !is_android) { |
362 data_deps += [ "//components/font_service" ] | 366 data_deps += [ "//components/font_service" ] |
363 } | 367 } |
364 } | 368 } |
OLD | NEW |