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

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

Issue 2937233002: Use HitTestAggregator in GpuRootCompositorFrameSink (Closed)
Patch Set: rebase and move switches from base to common 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/frame_sinks/BUILD.gn
diff --git a/components/viz/frame_sinks/BUILD.gn b/components/viz/frame_sinks/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f2c7e274a731f515dc226bcb5c386f8db75eb79b
--- /dev/null
+++ b/components/viz/frame_sinks/BUILD.gn
@@ -0,0 +1,48 @@
+# 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.
+
+group("frame_sinks") {
+ if (is_component_build) {
+ public_deps = [
Fady Samuel 2017/06/20 17:18:39 This change is unnecessary?
gklassen 2017/07/17 16:55:07 Done.
+ "//components/viz",
+ ]
+ } else {
+ public_deps = [
+ ":frame_sinks_sources",
+ ]
+ }
+}
+
+source_set("frame_sinks_sources") {
+ sources = [
+ "frame_eviction_manager.cc",
+ "frame_eviction_manager.h",
+ "frame_evictor.cc",
+ "frame_evictor.h",
+ "gpu_compositor_frame_sink.cc",
+ "gpu_compositor_frame_sink.h",
+ "gpu_compositor_frame_sink_delegate.h",
+ "gpu_root_compositor_frame_sink.cc",
+ "gpu_root_compositor_frame_sink.h",
+ "mojo_frame_sink_manager.cc",
+ "mojo_frame_sink_manager.h",
+ ]
+
+ public_deps = [
+ "//base",
+ "//cc",
+ "//cc/ipc:interfaces",
+ "//cc/surfaces",
+ "//components/viz/base",
+ "//components/viz/display_compositor:display_compositor_sources",
+ "//components/viz/hit_test",
+ "//gpu/ipc:command_buffer",
+ ]
+
+ configs += [ "//components/viz:viz_implementation" ]
+
+ if (is_win) {
+ cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.com/633312)
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698