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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 '<(DEPTH)/base/base.gyp:test_support_base', | 151 '<(DEPTH)/base/base.gyp:test_support_base', |
151 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', | 152 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', |
152 '<(DEPTH)/skia/skia.gyp:skia', | 153 '<(DEPTH)/skia/skia.gyp:skia', |
153 '<(DEPTH)/testing/gtest.gyp:gtest', | 154 '<(DEPTH)/testing/gtest.gyp:gtest', |
154 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 155 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
155 '<(DEPTH)/ui/ui.gyp:gfx_resources', | 156 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
156 '<(DEPTH)/ui/ui.gyp:ui', | 157 '<(DEPTH)/ui/ui.gyp:ui', |
157 '<(DEPTH)/ui/ui.gyp:ui_resources', | 158 '<(DEPTH)/ui/ui.gyp:ui_resources', |
158 'compositor', | 159 'compositor', |
159 'compositor_test_support', | 160 'compositor_test_support', |
160 'test_compositor', | |
161 ], | 161 ], |
162 'sources': [ | 162 'sources': [ |
163 'layer_animation_element_unittest.cc', | 163 'layer_animation_element_unittest.cc', |
164 'layer_animation_sequence_unittest.cc', | 164 'layer_animation_sequence_unittest.cc', |
165 'layer_animator_unittest.cc', | 165 'layer_animator_unittest.cc', |
166 'layer_unittest.cc', | 166 'layer_unittest.cc', |
167 'run_all_unittests.cc', | 167 'run_all_unittests.cc', |
168 'test/test_compositor_host.h', | 168 'test/test_compositor_host.h', |
169 'test/test_compositor_host_linux.cc', | 169 'test/test_compositor_host_linux.cc', |
170 'test/test_compositor_host_mac.mm', | 170 'test/test_compositor_host_mac.mm', |
(...skipping 11 matching lines...) Expand all Loading... |
182 ], | 182 ], |
183 'conditions': [ | 183 'conditions': [ |
184 # osmesa GL implementation is used on linux. | 184 # osmesa GL implementation is used on linux. |
185 ['OS=="linux"', { | 185 ['OS=="linux"', { |
186 'dependencies': [ | 186 'dependencies': [ |
187 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 187 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
188 ], | 188 ], |
189 }], | 189 }], |
190 ], | 190 ], |
191 }, | 191 }, |
192 { | |
193 'target_name': 'test_compositor', | |
194 'type': 'static_library', | |
195 'dependencies': [ | |
196 '<(DEPTH)/base/base.gyp:base', | |
197 ], | |
198 'sources': [ | |
199 '../test/gfx_test_utils.cc', | |
200 '../test/gfx_test_utils.h', | |
201 ], | |
202 'conditions': [ | |
203 # We allow on platforms without a compositor (such as OS_WIN). | |
204 # They will use compositor_stub.cc. | |
205 ['toolkit_views == 1', { | |
206 'dependencies': [ | |
207 '<(DEPTH)/skia/skia.gyp:skia', | |
208 'compositor', | |
209 ], | |
210 'sources': [ | |
211 'test/test_compositor.cc', | |
212 'test/test_compositor.h', | |
213 'test/test_texture.cc', | |
214 'test/test_texture.h', | |
215 ], | |
216 }], | |
217 ], | |
218 }, | |
219 ], | 192 ], |
220 } | 193 } |
OLD | NEW |