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

Unified Diff: components/viz/hittest/BUILD.gn

Issue 2908783002: WIP Hittest Component.
Patch Set: improvements from reviewer comments 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/hittest/BUILD.gn
diff --git a/components/viz/hittest/BUILD.gn b/components/viz/hittest/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..cf7d755014b30f3b75ecf02f83f95502b70325a6
--- /dev/null
+++ b/components/viz/hittest/BUILD.gn
@@ -0,0 +1,43 @@
+# 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")
+
+component("hittest") {
+ defines = [ "HITTEST_IMPLEMENTATION" ]
+
+ sources = [
+ "display_hittest_data.cc",
+ "display_hittest_data.h",
+ "hittest_aggregator.cc",
+ "hittest_aggregator.h",
+ ]
+
+ deps = [
+ "//cc/ipc:interfaces",
+ "//components/viz/hittest/public/interfaces",
+ ]
+}
+
+# This test covers all testable components in display.
+test("viz_hittest_unittests") {
+ sources = [
+ "hittest_aggregator_unittest.cc",
+ ]
+
+ deps = [
+ ":hittest",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//base/test:test_support",
+ "//components/viz/hittest/public/interfaces",
+ "//testing/gtest",
+ ]
+
+ public_deps = [
+ "//skia/public/interfaces",
rjkroege 2017/06/07 17:16:45 did you figure out why you need this?
gklassen 2017/06/07 20:04:43 Done.
+ "//ui/gfx/geometry/mojo",
+ "//ui/gfx/mojo",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698