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

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

Issue 2938953002: Implement HitTestAggregator (Closed)
Patch Set: rebase 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/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..7203476e58669a015c3c23b7dc8f3fb4f0d33678
--- /dev/null
+++ b/components/viz/hit_test/BUILD.gn
@@ -0,0 +1,40 @@
+# 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("hit_test") {
+ defines = [ "HIT_TEST_IMPLEMENTATION" ]
+
+ sources = [
+ "display_hit_test_data.h",
+ "display_hit_test_data_factory.h",
+ "display_hit_test_data_factory_local.cc",
+ "display_hit_test_data_factory_local.h",
+ "hit_test_aggregator.cc",
+ "hit_test_aggregator.h",
+ ]
+
+ deps = [
+ "//cc/ipc:interfaces",
+ "//components/viz/hit_test/public/interfaces",
+ ]
+}
+
+# These are part of the components_unittests build target.
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "hit_test_aggregator_unittest.cc",
+ ]
+
+ deps = [
+ ":hit_test",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//base/test:test_support",
+ "//components/viz/hit_test/public/interfaces",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698