Index: components/viz/hit_test/BUILD.gn |
diff --git a/components/viz/hit_test/BUILD.gn b/components/viz/hit_test/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..91f2416b2bbac26da4bd3d5559fb79cd72f1dcd7 |
--- /dev/null |
+++ b/components/viz/hit_test/BUILD.gn |
@@ -0,0 +1,39 @@ |
+# 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") |
+ |
+# TODO(riajiang): Integrate with https://codereview.chromium.org/2908783002/. |
rjkroege
2017/06/12 17:17:23
One of you needs to land first. :-)
|
+component("hit_test") { |
+ defines = [ "HIT_TEST_IMPLEMENTATION" ] |
+ |
+ sources = [ |
+ "common/display_hit_test_data.h", |
+ "query/hit_test_query.cc", |
+ "query/hit_test_query.h", |
+ ] |
+ |
+ public_deps = [ |
+ "//cc/surfaces:surface_id", |
+ "//ui/gfx", |
+ "//ui/gfx/geometry", |
+ ] |
+} |
+ |
+test("viz_hit_test_unittests") { |
+ testonly = true |
+ |
+ sources = [ |
+ "query/hit_test_query_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":hit_test", |
+ "//base", |
+ "//base/test:run_all_unittests", |
+ "//base/test:test_support", |
+ "//cc:test_support", |
+ "//testing/gtest", |
+ ] |
+} |