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 "hit_test_aggregator.cc", |
| 13 "hit_test_aggregator.h", |
| 14 ] |
| 15 |
| 16 deps = [ |
| 17 "//cc/ipc:interfaces", |
| 18 "//components/viz/hit_test/public/interfaces", |
| 19 ] |
| 20 } |
| 21 |
| 22 # This test covers all testable components in display. |
| 23 test("viz_hit_test_unittests") { |
| 24 sources = [ |
| 25 "hit_test_aggregator_unittest.cc", |
| 26 ] |
| 27 |
| 28 deps = [ |
| 29 ":hit_test", |
| 30 "//base", |
| 31 "//base/test:run_all_unittests", |
| 32 "//base/test:test_support", |
| 33 "//components/viz/hit_test/public/interfaces", |
| 34 "//testing/gtest", |
| 35 ] |
| 36 |
| 37 public_deps = [ |
| 38 "//ui/gfx/geometry/mojo", |
| 39 "//ui/gfx/mojo", |
| 40 ] |
| 41 } |
OLD | NEW |