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', | |
46 'compositor_stub.cc', | 45 'compositor_stub.cc', |
47 'compositor_switches.cc', | 46 'compositor_switches.cc', |
48 'compositor_switches.h', | 47 'compositor_switches.h', |
49 'compositor_win.cc', | 48 'compositor_win.cc', |
50 'debug_utils.cc', | 49 'debug_utils.cc', |
51 'debug_utils.h', | 50 'debug_utils.h', |
52 'layer.cc', | 51 'layer.cc', |
53 'layer.h', | 52 'layer.h', |
54 'layer_animation_delegate.h', | 53 'layer_animation_delegate.h', |
55 'layer_animation_element.cc', | 54 'layer_animation_element.cc', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 'dependencies': [ | 100 'dependencies': [ |
102 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', | 101 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', |
103 '<(DEPTH)/webkit/support/webkit_support.gyp:fileapi', | 102 '<(DEPTH)/webkit/support/webkit_support.gyp:fileapi', |
104 '<(DEPTH)/webkit/support/webkit_support.gyp:glue', | 103 '<(DEPTH)/webkit/support/webkit_support.gyp:glue', |
105 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', | 104 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', |
106 ], | 105 ], |
107 }, { | 106 }, { |
108 'sources!': [ | 107 'sources!': [ |
109 'compositor_cc.cc', | 108 'compositor_cc.cc', |
110 'compositor_cc.h', | 109 'compositor_cc.h', |
111 'compositor_setup.h', | |
112 'test_web_graphics_context_3d.cc', | 110 'test_web_graphics_context_3d.cc', |
113 'test_web_graphics_context_3d.h', | 111 'test_web_graphics_context_3d.h', |
114 ], | 112 ], |
115 } | 113 } |
116 ], | 114 ], |
117 ], | 115 ], |
118 }, | 116 }, |
119 { | 117 { |
120 'target_name': 'compositor_test_support', | 118 'target_name': 'compositor_test_support', |
121 'type': 'static_library', | 119 'type': 'static_library', |
(...skipping 30 matching lines...) Expand all Loading... |
152 '<(DEPTH)/base/base.gyp:test_support_base', | 150 '<(DEPTH)/base/base.gyp:test_support_base', |
153 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', | 151 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', |
154 '<(DEPTH)/skia/skia.gyp:skia', | 152 '<(DEPTH)/skia/skia.gyp:skia', |
155 '<(DEPTH)/testing/gtest.gyp:gtest', | 153 '<(DEPTH)/testing/gtest.gyp:gtest', |
156 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 154 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
157 '<(DEPTH)/ui/ui.gyp:gfx_resources', | 155 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
158 '<(DEPTH)/ui/ui.gyp:ui', | 156 '<(DEPTH)/ui/ui.gyp:ui', |
159 '<(DEPTH)/ui/ui.gyp:ui_resources', | 157 '<(DEPTH)/ui/ui.gyp:ui_resources', |
160 'compositor', | 158 'compositor', |
161 'compositor_test_support', | 159 'compositor_test_support', |
| 160 'test_compositor', |
162 ], | 161 ], |
163 'sources': [ | 162 'sources': [ |
164 'layer_animation_element_unittest.cc', | 163 'layer_animation_element_unittest.cc', |
165 'layer_animation_sequence_unittest.cc', | 164 'layer_animation_sequence_unittest.cc', |
166 'layer_animator_unittest.cc', | 165 'layer_animator_unittest.cc', |
167 'layer_unittest.cc', | 166 'layer_unittest.cc', |
168 'run_all_unittests.cc', | 167 'run_all_unittests.cc', |
169 'test/test_compositor_host.h', | 168 'test/test_compositor_host.h', |
170 'test/test_compositor_host_linux.cc', | 169 'test/test_compositor_host_linux.cc', |
171 'test/test_compositor_host_mac.mm', | 170 'test/test_compositor_host_mac.mm', |
172 'test/test_compositor_host_win.cc', | 171 'test/test_compositor_host_win.cc', |
173 'test/test_layer_animation_delegate.cc', | 172 'test/test_layer_animation_delegate.cc', |
174 'test/test_layer_animation_delegate.h', | 173 'test/test_layer_animation_delegate.h', |
175 'test/test_layer_animation_observer.cc', | 174 'test/test_layer_animation_observer.cc', |
176 'test/test_layer_animation_observer.h', | 175 'test/test_layer_animation_observer.h', |
177 'test/test_suite.cc', | 176 'test/test_suite.cc', |
178 'test/test_suite.h', | 177 'test/test_suite.h', |
179 'test/test_utils.cc', | 178 'test/test_utils.cc', |
180 'test/test_utils.h', | 179 'test/test_utils.h', |
181 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', | 180 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
182 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | 181 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
183 ], | 182 ], |
184 'conditions': [ | 183 'conditions': [ |
185 # osmesa GL implementation is used on linux. | 184 # osmesa GL implementation is used on linux. |
186 ['OS=="linux"', { | 185 ['OS=="linux"', { |
187 'dependencies': [ | 186 'dependencies': [ |
188 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 187 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
189 ], | 188 ], |
190 }], | 189 }], |
191 ['use_webkit_compositor==0', { | |
192 'dependencies': [ | |
193 'test_compositor', | |
194 ], | |
195 }], | |
196 ], | 190 ], |
197 }, | 191 }, |
198 { | 192 { |
199 'target_name': 'test_compositor', | 193 'target_name': 'test_compositor', |
200 'type': 'static_library', | 194 'type': 'static_library', |
201 'dependencies': [ | 195 'dependencies': [ |
202 '<(DEPTH)/base/base.gyp:base', | 196 '<(DEPTH)/base/base.gyp:base', |
203 ], | 197 ], |
204 'sources': [ | 198 'sources': [ |
205 '../test/gfx_test_utils.cc', | 199 '../test/gfx_test_utils.cc', |
(...skipping 11 matching lines...) Expand all Loading... |
217 'test/test_compositor.cc', | 211 'test/test_compositor.cc', |
218 'test/test_compositor.h', | 212 'test/test_compositor.h', |
219 'test/test_texture.cc', | 213 'test/test_texture.cc', |
220 'test/test_texture.h', | 214 'test/test_texture.h', |
221 ], | 215 ], |
222 }], | 216 }], |
223 ], | 217 ], |
224 }, | 218 }, |
225 ], | 219 ], |
226 } | 220 } |
OLD | NEW |