Chromium Code Reviews| Index: components/viz/hittest/BUILD.gn |
| diff --git a/components/viz/hittest/BUILD.gn b/components/viz/hittest/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c6848ce17126815d94a398504ecc26d96a7599ff |
| --- /dev/null |
| +++ b/components/viz/hittest/BUILD.gn |
| @@ -0,0 +1,42 @@ |
| +# Copyright 2017 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//testing/test.gni") |
| + |
| +component("hittest") { |
| + defines = [ "HITTEST_IMPLEMENTATION" ] |
| + |
| + sources = [ |
| + "hittest_aggregator.cc", |
| + "hittest_aggregator.h", |
| + ] |
| + |
| + deps = [ |
| + "//cc/ipc:interfaces", |
| + "//components/viz/hittest/public/interfaces", |
| + "//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
|
| + ] |
| +} |
| + |
| +# This test covers all testable components in display. |
| +test("viz_hittest_unittests") { |
| + sources = [ |
| + "hittest_aggregator_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":hittest", |
| + "//base", |
| + "//base/test:run_all_unittests", |
| + "//base/test:test_support", |
| + "//components/viz/hittest/public/interfaces", |
| + "//testing/gtest", |
| + ] |
| + |
| + public_deps = [ |
| + "//skia/public/interfaces", |
| + "//ui/gfx/geometry/mojo", |
| + "//ui/gfx/mojo", |
| + ] |
| +} |