Chromium Code Reviews| 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("hittest") { | |
| 8 defines = [ "HITTEST_IMPLEMENTATION" ] | |
| 9 | |
| 10 sources = [ | |
| 11 "display_hittest_data.cc", | |
| 12 "display_hittest_data.h", | |
| 13 "hittest_aggregator.cc", | |
| 14 "hittest_aggregator.h", | |
| 15 ] | |
| 16 | |
| 17 deps = [ | |
| 18 "//cc/ipc:interfaces", | |
| 19 "//components/viz/hittest/public/interfaces", | |
| 20 ] | |
| 21 } | |
| 22 | |
| 23 # This test covers all testable components in display. | |
| 24 test("viz_hittest_unittests") { | |
| 25 sources = [ | |
| 26 "hittest_aggregator_unittest.cc", | |
| 27 ] | |
| 28 | |
| 29 deps = [ | |
| 30 ":hittest", | |
| 31 "//base", | |
| 32 "//base/test:run_all_unittests", | |
| 33 "//base/test:test_support", | |
| 34 "//components/viz/hittest/public/interfaces", | |
| 35 "//testing/gtest", | |
| 36 ] | |
| 37 | |
| 38 public_deps = [ | |
| 39 "//skia/public/interfaces", | |
|
rjkroege
2017/06/07 17:16:45
did you figure out why you need this?
gklassen
2017/06/07 20:04:43
Done.
| |
| 40 "//ui/gfx/geometry/mojo", | |
| 41 "//ui/gfx/mojo", | |
| 42 ] | |
| 43 } | |
| OLD | NEW |