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

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

Issue 2908783002: WIP Hittest Component.
Patch Set: change HitTestFlags to constants so we can mix and match and convert to struct naming convention 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..e1242cc50b07b6e40cf41f8b96d638123a35628c
--- /dev/null
+++ b/components/viz/hit_test/BUILD.gn
@@ -0,0 +1,44 @@
+# 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",
+ ]
+}
+
+# This test covers all testable components in display.
+test("viz_hit_test_unittests") {
+ 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",
+ ]
+
+ public_deps = [
+ "//ui/gfx/geometry/mojo",
+ "//ui/gfx/mojo",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698