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..c60ca0e36e0f670fd21c2cf0cf00d6dfba4ccff7 |
--- /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", |
+ "//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", |
+ ] |
+} |