Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5522)

Unified Diff: components/viz/host/hit_test/BUILD.gn

Issue 2933493003: Add viz-host HitTestQuery. (Closed)
Patch Set: comment #6 #7 Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..bdef6f9997e7298d78f88254973a04a40582efc2
--- /dev/null
+++ b/components/viz/host/hit_test/BUILD.gn
@@ -0,0 +1,37 @@
+# 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/.
+source_set("hit_test") {
+ sources = [
+ "components/viz/common/display_hit_test_data.h",
sadrul 2017/06/16 17:09:51 I assume you meant //components...? (it's weird th
riajiang 2017/06/23 02:46:36 Yea I meant //components. Added BUILD.gn to compon
+ "hit_test_query.cc",
+ "hit_test_query.h",
+ ]
+
+ public_deps = [
+ "//cc/surfaces:surface_id",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+}
+
+test("viz_hit_test_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",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698