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 'cc_unit_tests_source_files': [ | 8 'cc_unit_tests_source_files': [ |
9 'animation/animation_unittest.cc', | 9 'animation/animation_unittest.cc', |
10 'animation/keyframed_animation_curve_unittest.cc', | 10 'animation/keyframed_animation_curve_unittest.cc', |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 'cc_test_utils', | 186 'cc_test_utils', |
187 ], | 187 ], |
188 'sources': [ | 188 'sources': [ |
189 'test/run_all_unittests.cc', | 189 'test/run_all_unittests.cc', |
190 'test/cc_test_suite.cc', | 190 'test/cc_test_suite.cc', |
191 '<@(cc_unit_tests_source_files)', | 191 '<@(cc_unit_tests_source_files)', |
192 ], | 192 ], |
193 'include_dirs': [ | 193 'include_dirs': [ |
194 'test', | 194 'test', |
195 '.', | 195 '.', |
196 '../third_party/WebKit/Source/Platform/chromium', | 196 '../third_party/WebKit/public/platform', |
197 ], | 197 ], |
198 'conditions': [ | 198 'conditions': [ |
199 ['OS == "android" and gtest_target_type == "shared_library"', { | 199 ['OS == "android" and gtest_target_type == "shared_library"', { |
200 'dependencies': [ | 200 'dependencies': [ |
201 '../testing/android/native_test.gyp:native_test_native_code', | 201 '../testing/android/native_test.gyp:native_test_native_code', |
202 ], | 202 ], |
203 }], | 203 }], |
204 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | 204 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
205 'conditions': [ | 205 'conditions': [ |
206 [ 'linux_use_tcmalloc==1', { | 206 [ 'linux_use_tcmalloc==1', { |
(...skipping 21 matching lines...) Expand all Loading... |
228 'cc_test_support', | 228 'cc_test_support', |
229 ], | 229 ], |
230 'sources': [ | 230 'sources': [ |
231 'trees/layer_tree_host_perftest.cc', | 231 'trees/layer_tree_host_perftest.cc', |
232 'test/run_all_unittests.cc', | 232 'test/run_all_unittests.cc', |
233 'test/cc_test_suite.cc', | 233 'test/cc_test_suite.cc', |
234 ], | 234 ], |
235 'include_dirs': [ | 235 'include_dirs': [ |
236 'test', | 236 'test', |
237 '.', | 237 '.', |
238 '../third_party/WebKit/Source/Platform/chromium', | 238 '../third_party/WebKit/public/platform', |
239 ], | 239 ], |
240 'conditions': [ | 240 'conditions': [ |
241 ['OS == "android" and gtest_target_type == "shared_library"', { | 241 ['OS == "android" and gtest_target_type == "shared_library"', { |
242 'dependencies': [ | 242 'dependencies': [ |
243 '../testing/android/native_test.gyp:native_test_native_code', | 243 '../testing/android/native_test.gyp:native_test_native_code', |
244 ], | 244 ], |
245 }], | 245 }], |
246 # See http://crbug.com/162998#c4 for why this is needed. | 246 # See http://crbug.com/162998#c4 for why this is needed. |
247 ['OS=="linux" and linux_use_tcmalloc==1', { | 247 ['OS=="linux" and linux_use_tcmalloc==1', { |
248 'dependencies': [ | 248 'dependencies': [ |
249 '../base/allocator/allocator.gyp:allocator', | 249 '../base/allocator/allocator.gyp:allocator', |
250 ], | 250 ], |
251 }], | 251 }], |
252 ], | 252 ], |
253 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 253 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
254 'msvs_disabled_warnings': [ 4267, ], | 254 'msvs_disabled_warnings': [ 4267, ], |
255 }, | 255 }, |
256 { | 256 { |
257 'target_name': 'cc_test_support', | 257 'target_name': 'cc_test_support', |
258 'type': 'static_library', | 258 'type': 'static_library', |
259 'include_dirs': [ | 259 'include_dirs': [ |
260 'test', | 260 'test', |
261 '.', | 261 '.', |
262 '..', | 262 '..', |
263 '../third_party/WebKit/Source/Platform/chromium', | 263 '../third_party/WebKit/public/platform', |
264 ], | 264 ], |
265 'dependencies': [ | 265 'dependencies': [ |
266 '../skia/skia.gyp:skia', | 266 '../skia/skia.gyp:skia', |
267 '../testing/gmock.gyp:gmock', | 267 '../testing/gmock.gyp:gmock', |
268 '../testing/gtest.gyp:gtest', | 268 '../testing/gtest.gyp:gtest', |
269 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | 269 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', |
270 '../third_party/mesa/mesa.gyp:osmesa', | 270 '../third_party/mesa/mesa.gyp:osmesa', |
271 '../ui/gl/gl.gyp:gl', | 271 '../ui/gl/gl.gyp:gl', |
272 '../ui/ui.gyp:ui', | 272 '../ui/ui.gyp:ui', |
273 ], | 273 ], |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 'variables': { | 321 'variables': { |
322 'test_suite_name': 'cc_perftests', | 322 'test_suite_name': 'cc_perftests', |
323 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perfte
sts<(SHARED_LIB_SUFFIX)', | 323 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perfte
sts<(SHARED_LIB_SUFFIX)', |
324 }, | 324 }, |
325 'includes': [ '../build/apk_test.gypi' ], | 325 'includes': [ '../build/apk_test.gypi' ], |
326 }, | 326 }, |
327 ], | 327 ], |
328 }] | 328 }] |
329 ], | 329 ], |
330 } | 330 } |
OLD | NEW |