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

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

Issue 2938953002: Implement HitTestAggregator (Closed)
Patch Set: Use two distinct buffers instead of one and remove in-place synchronization. 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/service/BUILD.gn
diff --git a/components/viz/service/BUILD.gn b/components/viz/service/BUILD.gn
index ecb8291d9c668d27a0d4eae05784858f362ccd8a..b7553e652b9aab8bd36cb557617fd73c41cda0a5 100644
--- a/components/viz/service/BUILD.gn
+++ b/components/viz/service/BUILD.gn
@@ -37,6 +37,11 @@ component("service") {
"frame_sinks/gpu_root_compositor_frame_sink.h",
"frame_sinks/mojo_frame_sink_manager.cc",
"frame_sinks/mojo_frame_sink_manager.h",
+ "hit_test/display_hit_test_data_factory.h",
+ "hit_test/display_hit_test_data_factory_local.cc",
+ "hit_test/display_hit_test_data_factory_local.h",
+ "hit_test/hit_test_aggregator.cc",
+ "hit_test/hit_test_aggregator.h",
"viz_service_export.h",
]
@@ -54,6 +59,7 @@ component("service") {
"//gpu/command_buffer/common",
"//gpu/ipc:command_buffer",
"//gpu/ipc/common:surface_handle_type",
+ "//services/viz/hit_test/public/interfaces",
"//skia",
"//ui/display/types",
"//ui/gfx",
@@ -92,12 +98,34 @@ component("service") {
}
}
+test("hit_test_unit_tests") {
rjkroege 2017/06/27 00:00:07 currently the opinion is that hit_test_unit_tests
gklassen 2017/06/27 21:46:32 Done.
+ testonly = true
+ sources = [
+ "hit_test/hit_test_aggregator_unittest.cc",
+ ]
+ deps = [
+ ":service",
+ "//base",
+ "//base/test:test_support",
+ "//cc:test_support",
+ "//media",
+ "//mojo/edk/test:run_all_unittests",
+ "//services/viz/hit_test/public/interfaces",
+ "//skia",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//ui/display/types",
+ "//ui/gl:test_support",
+ ]
+}
+
# These are part of the components_unittests build target.
source_set("unit_tests") {
testonly = true
sources = [
"display_compositor/buffer_queue_unittest.cc",
"display_compositor/host_shared_bitmap_manager_unittest.cc",
+ "hit_test/hit_test_aggregator_unittest.cc",
]
if (!use_aura && !is_mac) {
@@ -118,6 +146,7 @@ source_set("unit_tests") {
"//gpu/command_buffer/client:gles2_implementation",
"//gpu/ipc:gl_in_process_context",
"//media",
+ "//services/viz/hit_test/public/interfaces",
"//skia",
"//testing/gmock",
"//testing/gtest",

Powered by Google App Engine
This is Rietveld 408576698