OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 }, | 137 }, |
138 { | 138 { |
139 'target_name': 'compositor_unittests', | 139 'target_name': 'compositor_unittests', |
140 'type': 'executable', | 140 'type': 'executable', |
141 'dependencies': [ | 141 'dependencies': [ |
142 '<(DEPTH)/base/base.gyp:base', | 142 '<(DEPTH)/base/base.gyp:base', |
143 '<(DEPTH)/base/base.gyp:test_support_base', | 143 '<(DEPTH)/base/base.gyp:test_support_base', |
144 '<(DEPTH)/cc/cc.gyp:cc', | 144 '<(DEPTH)/cc/cc.gyp:cc', |
145 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', | 145 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', |
146 '<(DEPTH)/skia/skia.gyp:skia', | 146 '<(DEPTH)/skia/skia.gyp:skia', |
| 147 '<(DEPTH)/testing/gmock.gyp:gmock', |
147 '<(DEPTH)/testing/gtest.gyp:gtest', | 148 '<(DEPTH)/testing/gtest.gyp:gtest', |
148 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | 149 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', |
149 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 150 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
150 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 151 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
151 '<(DEPTH)/ui/gl/gl.gyp:gl', | 152 '<(DEPTH)/ui/gl/gl.gyp:gl', |
152 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 153 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
153 'compositor', | 154 'compositor', |
154 'compositor_test_support', | 155 'compositor_test_support', |
155 ], | 156 ], |
156 'sources': [ | 157 'sources': [ |
| 158 'compositor_unittest.cc', |
157 'layer_animation_element_unittest.cc', | 159 'layer_animation_element_unittest.cc', |
158 'layer_animation_sequence_unittest.cc', | 160 'layer_animation_sequence_unittest.cc', |
159 'layer_animator_unittest.cc', | 161 'layer_animator_unittest.cc', |
160 'layer_owner_unittest.cc', | 162 'layer_owner_unittest.cc', |
161 'layer_unittest.cc', | 163 'layer_unittest.cc', |
162 'run_all_unittests.cc', | 164 'run_all_unittests.cc', |
163 'transform_animation_curve_adapter_unittest.cc', | 165 'transform_animation_curve_adapter_unittest.cc', |
164 ], | 166 ], |
165 'conditions': [ | 167 'conditions': [ |
166 # osmesa GL implementation is used on linux. | 168 # osmesa GL implementation is used on linux. |
167 ['OS=="linux"', { | 169 ['OS=="linux"', { |
168 'dependencies': [ | 170 'dependencies': [ |
169 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 171 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
170 ], | 172 ], |
171 }], | 173 }], |
172 ['os_posix == 1 and OS != "mac"', { | 174 ['os_posix == 1 and OS != "mac"', { |
173 'conditions': [ | 175 'conditions': [ |
174 ['use_allocator!="none"', { | 176 ['use_allocator!="none"', { |
175 'dependencies': [ | 177 'dependencies': [ |
176 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 178 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
177 ], | 179 ], |
178 }], | 180 }], |
179 ], | 181 ], |
180 }], | 182 }], |
181 ], | 183 ], |
182 }, | 184 }, |
183 ], | 185 ], |
184 } | 186 } |
OLD | NEW |