OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//testing/test.gni") |
| 6 |
| 7 component("hit_test") { |
| 8 defines = [ "HIT_TEST_IMPLEMENTATION" ] |
| 9 |
| 10 sources = [ |
| 11 "display_hit_test_data.h", |
| 12 "display_hit_test_data_factory.h", |
| 13 "display_hit_test_data_factory_local.cc", |
| 14 "display_hit_test_data_factory_local.h", |
| 15 "hit_test_aggregator.cc", |
| 16 "hit_test_aggregator.h", |
| 17 ] |
| 18 |
| 19 deps = [ |
| 20 "//cc/ipc:interfaces", |
| 21 "//components/viz/hit_test/public/interfaces", |
| 22 ] |
| 23 } |
| 24 |
| 25 # This test covers all testable components in display. |
| 26 test("viz_hit_test_unittests") { |
| 27 sources = [ |
| 28 "hit_test_aggregator_unittest.cc", |
| 29 ] |
| 30 |
| 31 deps = [ |
| 32 ":hit_test", |
| 33 "//base", |
| 34 "//base/test:run_all_unittests", |
| 35 "//base/test:test_support", |
| 36 "//components/viz/hit_test/public/interfaces", |
| 37 "//testing/gtest", |
| 38 ] |
| 39 |
| 40 public_deps = [ |
| 41 "//ui/gfx/geometry/mojo", |
| 42 "//ui/gfx/mojo", |
| 43 ] |
| 44 } |
OLD | NEW |