Chromium Code Reviews| Index: components/viz/host/hit_test/BUILD.gn |
| diff --git a/components/viz/host/hit_test/BUILD.gn b/components/viz/host/hit_test/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..617e14b26e550a3467ed174a0306e1b6178fa833 |
| --- /dev/null |
| +++ b/components/viz/host/hit_test/BUILD.gn |
| @@ -0,0 +1,36 @@ |
| +# 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") |
| + |
| +source_set("hit_test") { |
| + sources = [ |
| + "hit_test_query.cc", |
| + "hit_test_query.h", |
| + ] |
| + |
| + public_deps = [ |
| + "//cc/surfaces:surface_id", |
| + "//components/viz/common/hit_test:hit_test_common", |
| + "//ui/gfx", |
| + "//ui/gfx/geometry", |
| + ] |
| +} |
| + |
| +test("viz_hit_test_host_unittests") { |
|
rjkroege
2017/06/27 00:10:52
afaik, needs to be a source set as is part of comp
riajiang
2017/06/27 15:51:44
I see, changed to be part of components_unittests
|
| + testonly = true |
| + |
| + sources = [ |
| + "hit_test_query_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":hit_test", |
| + "//base", |
| + "//base/test:run_all_unittests", |
| + "//base/test:test_support", |
| + "//cc:test_support", |
| + "//testing/gtest", |
| + ] |
| +} |