OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'sources/': [ | 10 'sources/': [ |
(...skipping 24 matching lines...) Expand all Loading... |
35 ], | 35 ], |
36 'sources': [ | 36 'sources': [ |
37 'compositor.cc', | 37 'compositor.cc', |
38 'compositor.h', | 38 'compositor.h', |
39 'compositor_export.h', | 39 'compositor_export.h', |
40 'compositor_gl.cc', | 40 'compositor_gl.cc', |
41 'compositor_gl.h', | 41 'compositor_gl.h', |
42 'compositor_cc.cc', | 42 'compositor_cc.cc', |
43 'compositor_cc.h', | 43 'compositor_cc.h', |
44 'compositor_observer.h', | 44 'compositor_observer.h', |
| 45 'compositor_setup.h', |
45 'compositor_stub.cc', | 46 'compositor_stub.cc', |
46 'compositor_switches.cc', | 47 'compositor_switches.cc', |
47 'compositor_switches.h', | 48 'compositor_switches.h', |
48 'compositor_win.cc', | 49 'compositor_win.cc', |
49 'debug_utils.cc', | 50 'debug_utils.cc', |
50 'debug_utils.h', | 51 'debug_utils.h', |
51 'layer.cc', | 52 'layer.cc', |
52 'layer.h', | 53 'layer.h', |
53 'layer_animation_delegate.h', | 54 'layer_animation_delegate.h', |
54 'layer_animation_element.cc', | 55 'layer_animation_element.cc', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 'dependencies': [ | 101 'dependencies': [ |
101 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', | 102 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', |
102 '<(DEPTH)/webkit/support/webkit_support.gyp:fileapi', | 103 '<(DEPTH)/webkit/support/webkit_support.gyp:fileapi', |
103 '<(DEPTH)/webkit/support/webkit_support.gyp:glue', | 104 '<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
104 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', | 105 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', |
105 ], | 106 ], |
106 }, { | 107 }, { |
107 'sources!': [ | 108 'sources!': [ |
108 'compositor_cc.cc', | 109 'compositor_cc.cc', |
109 'compositor_cc.h', | 110 'compositor_cc.h', |
| 111 'compositor_setup.h', |
110 'test_web_graphics_context_3d.cc', | 112 'test_web_graphics_context_3d.cc', |
111 'test_web_graphics_context_3d.h', | 113 'test_web_graphics_context_3d.h', |
112 ], | 114 ], |
113 } | 115 } |
114 ], | 116 ], |
115 ], | 117 ], |
116 }, | 118 }, |
117 { | 119 { |
118 'target_name': 'compositor_test_support', | 120 'target_name': 'compositor_test_support', |
119 'type': 'static_library', | 121 'type': 'static_library', |
(...skipping 30 matching lines...) Expand all Loading... |
150 '<(DEPTH)/base/base.gyp:test_support_base', | 152 '<(DEPTH)/base/base.gyp:test_support_base', |
151 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', | 153 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', |
152 '<(DEPTH)/skia/skia.gyp:skia', | 154 '<(DEPTH)/skia/skia.gyp:skia', |
153 '<(DEPTH)/testing/gtest.gyp:gtest', | 155 '<(DEPTH)/testing/gtest.gyp:gtest', |
154 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 156 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
155 '<(DEPTH)/ui/ui.gyp:gfx_resources', | 157 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
156 '<(DEPTH)/ui/ui.gyp:ui', | 158 '<(DEPTH)/ui/ui.gyp:ui', |
157 '<(DEPTH)/ui/ui.gyp:ui_resources', | 159 '<(DEPTH)/ui/ui.gyp:ui_resources', |
158 'compositor', | 160 'compositor', |
159 'compositor_test_support', | 161 'compositor_test_support', |
160 'test_compositor', | |
161 ], | 162 ], |
162 'sources': [ | 163 'sources': [ |
163 'layer_animation_element_unittest.cc', | 164 'layer_animation_element_unittest.cc', |
164 'layer_animation_sequence_unittest.cc', | 165 'layer_animation_sequence_unittest.cc', |
165 'layer_animator_unittest.cc', | 166 'layer_animator_unittest.cc', |
166 'layer_unittest.cc', | 167 'layer_unittest.cc', |
167 'run_all_unittests.cc', | 168 'run_all_unittests.cc', |
168 'test/test_compositor_host.h', | 169 'test/test_compositor_host.h', |
169 'test/test_compositor_host_linux.cc', | 170 'test/test_compositor_host_linux.cc', |
170 'test/test_compositor_host_mac.mm', | 171 'test/test_compositor_host_mac.mm', |
171 'test/test_compositor_host_win.cc', | 172 'test/test_compositor_host_win.cc', |
172 'test/test_layer_animation_delegate.cc', | 173 'test/test_layer_animation_delegate.cc', |
173 'test/test_layer_animation_delegate.h', | 174 'test/test_layer_animation_delegate.h', |
174 'test/test_layer_animation_observer.cc', | 175 'test/test_layer_animation_observer.cc', |
175 'test/test_layer_animation_observer.h', | 176 'test/test_layer_animation_observer.h', |
176 'test/test_suite.cc', | 177 'test/test_suite.cc', |
177 'test/test_suite.h', | 178 'test/test_suite.h', |
178 'test/test_utils.cc', | 179 'test/test_utils.cc', |
179 'test/test_utils.h', | 180 'test/test_utils.h', |
180 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', | 181 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
181 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | 182 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
182 ], | 183 ], |
183 'conditions': [ | 184 'conditions': [ |
184 # osmesa GL implementation is used on linux. | 185 # osmesa GL implementation is used on linux. |
185 ['OS=="linux"', { | 186 ['OS=="linux"', { |
186 'dependencies': [ | 187 'dependencies': [ |
187 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 188 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
188 ], | 189 ], |
189 }], | 190 }], |
| 191 ['use_webkit_compositor==0', { |
| 192 'dependencies': [ |
| 193 'test_compositor', |
| 194 ], |
| 195 }], |
190 ], | 196 ], |
191 }, | 197 }, |
192 { | 198 { |
193 'target_name': 'test_compositor', | 199 'target_name': 'test_compositor', |
194 'type': 'static_library', | 200 'type': 'static_library', |
195 'dependencies': [ | 201 'dependencies': [ |
196 '<(DEPTH)/base/base.gyp:base', | 202 '<(DEPTH)/base/base.gyp:base', |
197 ], | 203 ], |
198 'sources': [ | 204 'sources': [ |
199 '../test/gfx_test_utils.cc', | 205 '../test/gfx_test_utils.cc', |
(...skipping 11 matching lines...) Expand all Loading... |
211 'test/test_compositor.cc', | 217 'test/test_compositor.cc', |
212 'test/test_compositor.h', | 218 'test/test_compositor.h', |
213 'test/test_texture.cc', | 219 'test/test_texture.cc', |
214 'test/test_texture.h', | 220 'test/test_texture.h', |
215 ], | 221 ], |
216 }], | 222 }], |
217 ], | 223 ], |
218 }, | 224 }, |
219 ], | 225 ], |
220 } | 226 } |
OLD | NEW |