 Chromium Code Reviews
 Chromium Code Reviews Issue 2908783002:
  WIP Hittest Component.
    
  
    Issue 2908783002:
  WIP Hittest Component. 
  | 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 "hittest_aggregator.cc", | |
| 12 "hittest_aggregator.h", | |
| 13 ] | |
| 14 | |
| 15 deps = [ | |
| 16 "//cc/ipc:interfaces", | |
| 17 "//components/viz/hittest/public/interfaces", | |
| 18 "//skia/public/interfaces", | |
| 
rjkroege
2017/06/02 22:45:44
must we?
 
gklassen
2017/06/05 21:32:13
apparently not - it compiles without.  Gone in nex
 | |
| 19 ] | |
| 20 } | |
| 21 | |
| 22 # This test covers all testable components in display. | |
| 23 test("viz_hittest_unittests") { | |
| 24 sources = [ | |
| 25 "hittest_aggregator_unittest.cc", | |
| 26 ] | |
| 27 | |
| 28 deps = [ | |
| 29 ":hittest", | |
| 30 "//base", | |
| 31 "//base/test:run_all_unittests", | |
| 32 "//base/test:test_support", | |
| 33 "//components/viz/hittest/public/interfaces", | |
| 34 "//testing/gtest", | |
| 35 ] | |
| 36 | |
| 37 public_deps = [ | |
| 38 "//skia/public/interfaces", | |
| 39 "//ui/gfx/geometry/mojo", | |
| 40 "//ui/gfx/mojo", | |
| 41 ] | |
| 42 } | |
| OLD | NEW |