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..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") { |
|
Saman Sami
2017/04/18 15:00:35
Why did this become a component?
|
| + 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) |
| + } |
| } |