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 # TODO(riajiang): Integrate with https://codereview.chromium.org/2908783002/. |
| 8 component("hit_test") { |
| 9 defines = [ "HIT_TEST_IMPLEMENTATION" ] |
| 10 |
| 11 sources = [ |
| 12 "components/viz/common/display_hit_test_data.h", |
| 13 "hit_test_query.cc", |
| 14 "hit_test_query.h", |
| 15 ] |
| 16 |
| 17 public_deps = [ |
| 18 "//cc/surfaces:surface_id", |
| 19 "//ui/gfx", |
| 20 "//ui/gfx/geometry", |
| 21 ] |
| 22 } |
| 23 |
| 24 test("viz_hit_test_unittests") { |
| 25 testonly = true |
| 26 |
| 27 sources = [ |
| 28 "hit_test_query_unittest.cc", |
| 29 ] |
| 30 |
| 31 deps = [ |
| 32 ":hit_test", |
| 33 "//base", |
| 34 "//base/test:run_all_unittests", |
| 35 "//base/test:test_support", |
| 36 "//cc:test_support", |
| 37 "//testing/gtest", |
| 38 ] |
| 39 } |
OLD | NEW |