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

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

Issue 2811083002: Move frame eviction into components (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « no previous file | components/viz/frame_sinks/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/viz/frame_sinks/BUILD.gn
diff --git a/components/viz/frame_sinks/BUILD.gn b/components/viz/frame_sinks/BUILD.gn
index 750e684d93d9ad05963ed1f2330d639478380958..2c7012e4e9dde3292baf4d5df74db633d00535fa 100644
--- a/components/viz/frame_sinks/BUILD.gn
+++ b/components/viz/frame_sinks/BUILD.gn
@@ -2,9 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("frame_sinks") {
+component("frame_sinks") {
+ defines = [ "VIZ_IMPLEMENTATION" ]
+
sources = [
"display_provider.h",
+ "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",
@@ -12,6 +18,7 @@ source_set("frame_sinks") {
"gpu_root_compositor_frame_sink.h",
"mojo_frame_sink_manager.cc",
"mojo_frame_sink_manager.h",
+ "viz_export.h",
]
deps = [
@@ -22,4 +29,8 @@ source_set("frame_sinks") {
"//components/display_compositor",
"//gpu/ipc:command_buffer",
]
+
+ if (is_win) {
+ cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.com/633312)
+ }
}
« no previous file with comments | « no previous file | components/viz/frame_sinks/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698