Chromium Code Reviews| 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..fe8005ac8ca7959a4a89733f16d448bfc37a1af6 100644 |
| --- a/components/viz/frame_sinks/BUILD.gn |
| +++ b/components/viz/frame_sinks/BUILD.gn |
| @@ -3,8 +3,14 @@ |
| # found in the LICENSE file. |
| source_set("frame_sinks") { |
|
jbauman
2017/04/13 08:01:42
I think this needs to be a component if you're mak
xing.xu
2017/04/14 03:01:30
Done.
|
| + 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) |
| + } |
| } |