OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 group("frame_sinks") { | |
6 if (is_component_build) { | |
7 public_deps = [ | |
Fady Samuel
2017/06/20 17:18:39
This change is unnecessary?
gklassen
2017/07/17 16:55:07
Done.
| |
8 "//components/viz", | |
9 ] | |
10 } else { | |
11 public_deps = [ | |
12 ":frame_sinks_sources", | |
13 ] | |
14 } | |
15 } | |
16 | |
17 source_set("frame_sinks_sources") { | |
18 sources = [ | |
19 "frame_eviction_manager.cc", | |
20 "frame_eviction_manager.h", | |
21 "frame_evictor.cc", | |
22 "frame_evictor.h", | |
23 "gpu_compositor_frame_sink.cc", | |
24 "gpu_compositor_frame_sink.h", | |
25 "gpu_compositor_frame_sink_delegate.h", | |
26 "gpu_root_compositor_frame_sink.cc", | |
27 "gpu_root_compositor_frame_sink.h", | |
28 "mojo_frame_sink_manager.cc", | |
29 "mojo_frame_sink_manager.h", | |
30 ] | |
31 | |
32 public_deps = [ | |
33 "//base", | |
34 "//cc", | |
35 "//cc/ipc:interfaces", | |
36 "//cc/surfaces", | |
37 "//components/viz/base", | |
38 "//components/viz/display_compositor:display_compositor_sources", | |
39 "//components/viz/hit_test", | |
40 "//gpu/ipc:command_buffer", | |
41 ] | |
42 | |
43 configs += [ "//components/viz:viz_implementation" ] | |
44 | |
45 if (is_win) { | |
46 cflags = [ "/wd4267" ] # conversion from 'size_t' to 'int' on x64 (crbug.co m/633312) | |
47 } | |
48 } | |
OLD | NEW |