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

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

Issue 2938953002: Implement HitTestAggregator (Closed)
Patch Set: Use Shared Memory handles and mappings to manage buffers & other improvements based on reviewer com… 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..dd8143bc584150b375d541a5d0f36e971cd51dd1 100644
--- a/components/viz/service/BUILD.gn
+++ b/components/viz/service/BUILD.gn
@@ -37,6 +37,8 @@ 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/hit_test_aggregator.cc",
+ "hit_test/hit_test_aggregator.h",
"viz_service_export.h",
]
@@ -54,6 +56,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 +95,34 @@ component("service") {
}
}
+test("hit_test_unit_tests") {
+ 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 +143,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