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

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

Issue 2933493003: Add viz-host HitTestQuery. (Closed)
Patch Set: don't combine uint and int; check for overflow Created 3 years, 5 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..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",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698