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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 ], | 107 ], |
108 ], | 108 ], |
109 }, | 109 }, |
110 { | 110 { |
111 'target_name': 'compositor_test_support', | 111 'target_name': 'compositor_test_support', |
112 'type': 'static_library', | 112 'type': 'static_library', |
113 'dependencies': [ | 113 'dependencies': [ |
114 '<(DEPTH)/base/base.gyp:base', | 114 '<(DEPTH)/base/base.gyp:base', |
115 ], | 115 ], |
116 'sources': [ | 116 'sources': [ |
117 'compositor_test_support.cc', | 117 'test/compositor_test_support.cc', |
118 'compositor_test_support.h', | 118 'test/compositor_test_support.h', |
119 ], | 119 ], |
120 'conditions': [ | 120 'conditions': [ |
121 ['use_webkit_compositor == 1', { | 121 ['use_webkit_compositor == 1', { |
122 'dependencies': [ | 122 'dependencies': [ |
123 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 123 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
124 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', | 124 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', |
125 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', | 125 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', |
126 ], | 126 ], |
127 }], | 127 }], |
128 ], | 128 ], |
(...skipping 14 matching lines...) Expand all Loading... |
143 'compositor', | 143 'compositor', |
144 'compositor_test_support', | 144 'compositor_test_support', |
145 'test_compositor', | 145 'test_compositor', |
146 ], | 146 ], |
147 'sources': [ | 147 'sources': [ |
148 'layer_animation_element_unittest.cc', | 148 'layer_animation_element_unittest.cc', |
149 'layer_animation_sequence_unittest.cc', | 149 'layer_animation_sequence_unittest.cc', |
150 'layer_animator_unittest.cc', | 150 'layer_animator_unittest.cc', |
151 'layer_unittest.cc', | 151 'layer_unittest.cc', |
152 'run_all_unittests.cc', | 152 'run_all_unittests.cc', |
153 'test_compositor_host.h', | 153 'test/test_compositor_host.h', |
154 'test_compositor_host_linux.cc', | 154 'test/test_compositor_host_linux.cc', |
155 'test_compositor_host_win.cc', | 155 'test/test_compositor_host_win.cc', |
156 'test_layer_animation_delegate.cc', | 156 'test/test_layer_animation_delegate.cc', |
157 'test_layer_animation_delegate.h', | 157 'test/test_layer_animation_delegate.h', |
158 'test_layer_animation_observer.cc', | 158 'test/test_layer_animation_observer.cc', |
159 'test_layer_animation_observer.h', | 159 'test/test_layer_animation_observer.h', |
160 'test_suite.cc', | 160 'test/test_suite.cc', |
161 'test_suite.h', | 161 'test/test_suite.h', |
162 'test_utils.cc', | 162 'test/test_utils.cc', |
163 'test_utils.h', | 163 'test/test_utils.h', |
164 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', | 164 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
165 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | 165 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
166 ], | 166 ], |
167 'conditions': [ | 167 'conditions': [ |
168 # osmesa GL implementation is used on linux. | 168 # osmesa GL implementation is used on linux. |
169 ['OS=="linux"', { | 169 ['OS=="linux"', { |
170 'dependencies': [ | 170 'dependencies': [ |
171 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 171 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
172 ], | 172 ], |
173 }], | 173 }], |
(...skipping 11 matching lines...) Expand all Loading... |
185 ], | 185 ], |
186 'conditions': [ | 186 'conditions': [ |
187 # We allow on platforms without a compositor (such as OS_WIN). | 187 # We allow on platforms without a compositor (such as OS_WIN). |
188 # They will use compositor_stub.cc. | 188 # They will use compositor_stub.cc. |
189 ['toolkit_views == 1', { | 189 ['toolkit_views == 1', { |
190 'dependencies': [ | 190 'dependencies': [ |
191 '<(DEPTH)/skia/skia.gyp:skia', | 191 '<(DEPTH)/skia/skia.gyp:skia', |
192 'compositor', | 192 'compositor', |
193 ], | 193 ], |
194 'sources': [ | 194 'sources': [ |
195 'test_compositor.cc', | 195 'test/test_compositor.cc', |
196 'test_compositor.h', | 196 'test/test_compositor.h', |
197 'test_texture.cc', | 197 'test/test_texture.cc', |
198 'test_texture.h', | 198 'test/test_texture.h', |
199 ], | 199 ], |
200 }], | 200 }], |
201 ], | 201 ], |
202 }, | 202 }, |
203 ], | 203 ], |
204 } | 204 } |
OLD | NEW |