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..8e7ab195a5da0c2231a978b1db14fc2295671127 |
| --- /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("//components/viz/viz.gni") |
| +import("//testing/test.gni") |
| + |
| +viz_source_set("hit_test") { |
| + sources = [ |
| + "hit_test_query.cc", |
| + "hit_test_query.h", |
| + ] |
| + |
| + public_deps = [ |
| + "//components/viz/common:common", |
|
sadrul
2017/07/19 15:40:08
Don't need :common
riajiang
2017/07/19 17:45:55
Done.
|
| + "//services/viz/hit_test/public/interfaces", |
| + "//ui/gfx", |
| + "//ui/gfx/geometry", |
| + ] |
| +} |
| + |
| +viz_source_set("unit_tests") { |
| + testonly = true |
| + |
| + sources = [ |
| + "hit_test_query_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + ":hit_test", |
| + "//base", |
| + "//base/test:test_support", |
| + "//cc:test_support", |
| + "//testing/gtest", |
| + ] |
| +} |