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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 'dependencies': [ | 195 'dependencies': [ |
196 '<(DEPTH)/base/base.gyp:base', | 196 '<(DEPTH)/base/base.gyp:base', |
197 ], | 197 ], |
198 'sources': [ | 198 'sources': [ |
199 '../test/gfx_test_utils.cc', | 199 '../test/gfx_test_utils.cc', |
200 '../test/gfx_test_utils.h', | 200 '../test/gfx_test_utils.h', |
201 ], | 201 ], |
202 'conditions': [ | 202 'conditions': [ |
203 # We allow on platforms without a compositor (such as OS_WIN). | 203 # We allow on platforms without a compositor (such as OS_WIN). |
204 # They will use compositor_stub.cc. | 204 # They will use compositor_stub.cc. |
205 ['toolkit_views == 1', { | 205 ['toolkit_views == 1 or os_posix==1', { |
206 'dependencies': [ | 206 'dependencies': [ |
207 '<(DEPTH)/skia/skia.gyp:skia', | 207 '<(DEPTH)/skia/skia.gyp:skia', |
208 'compositor', | 208 'compositor', |
209 ], | 209 ], |
210 'sources': [ | 210 'sources': [ |
211 'test/test_compositor.cc', | 211 'test/test_compositor.cc', |
212 'test/test_compositor.h', | 212 'test/test_compositor.h', |
213 'test/test_texture.cc', | 213 'test/test_texture.cc', |
214 'test/test_texture.h', | 214 'test/test_texture.h', |
215 ], | 215 ], |
216 }], | 216 }], |
217 ], | 217 ], |
218 }, | 218 }, |
219 ], | 219 ], |
220 } | 220 } |
OLD | NEW |