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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 '.', | 285 '.', |
286 '..', | 286 '..', |
287 ], | 287 ], |
288 'dependencies': [ | 288 'dependencies': [ |
289 '../skia/skia.gyp:skia', | 289 '../skia/skia.gyp:skia', |
290 '../testing/gmock.gyp:gmock', | 290 '../testing/gmock.gyp:gmock', |
291 '../testing/gtest.gyp:gtest', | 291 '../testing/gtest.gyp:gtest', |
292 '../third_party/WebKit/public/blink.gyp:blink_minimal', | 292 '../third_party/WebKit/public/blink.gyp:blink_minimal', |
293 '../third_party/mesa/mesa.gyp:osmesa', | 293 '../third_party/mesa/mesa.gyp:osmesa', |
294 '../ui/gl/gl.gyp:gl', | 294 '../ui/gl/gl.gyp:gl', |
295 '../ui/gfx/gfx.gyp:gfx', | |
296 '../ui/ui.gyp:ui', | 295 '../ui/ui.gyp:ui', |
297 ], | 296 ], |
298 'sources': [ | 297 'sources': [ |
299 '<@(cc_tests_support_files)', | 298 '<@(cc_tests_support_files)', |
300 ], | 299 ], |
301 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 300 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
302 'msvs_disabled_warnings': [ 4267, ], | 301 'msvs_disabled_warnings': [ 4267, ], |
303 }, | 302 }, |
304 { | 303 { |
305 'target_name': 'cc_test_utils', | 304 'target_name': 'cc_test_utils', |
306 'type': 'static_library', | 305 'type': 'static_library', |
307 'include_dirs': [ | 306 'include_dirs': [ |
308 '..' | 307 '..' |
309 ], | 308 ], |
310 'sources': [ | 309 'sources': [ |
311 'test/pixel_comparator.cc', | 310 'test/pixel_comparator.cc', |
312 'test/pixel_comparator.h', | 311 'test/pixel_comparator.h', |
313 'test/pixel_test_utils.cc', | 312 'test/pixel_test_utils.cc', |
314 'test/pixel_test_utils.h', | 313 'test/pixel_test_utils.h', |
315 ], | 314 ], |
316 'dependencies': [ | 315 'dependencies': [ |
317 '../skia/skia.gyp:skia', | 316 '../skia/skia.gyp:skia', |
318 '../ui/gfx/gfx.gyp:gfx', | 317 '../ui/ui.gyp:ui', # for png_codec |
319 ], | 318 ], |
320 }, | 319 }, |
321 ], | 320 ], |
322 'conditions': [ | 321 'conditions': [ |
323 # Special target to wrap a gtest_target_type==shared_library | 322 # Special target to wrap a gtest_target_type==shared_library |
324 # cc_unittests into an android apk for execution. | 323 # cc_unittests into an android apk for execution. |
325 ['OS == "android" and gtest_target_type == "shared_library"', | 324 ['OS == "android" and gtest_target_type == "shared_library"', |
326 { | 325 { |
327 'targets': [ | 326 'targets': [ |
328 { | 327 { |
(...skipping 18 matching lines...) Expand all Loading... |
347 'test_suite_name': 'cc_perftests', | 346 'test_suite_name': 'cc_perftests', |
348 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perf
tests<(SHARED_LIB_SUFFIX)', | 347 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perf
tests<(SHARED_LIB_SUFFIX)', |
349 }, | 348 }, |
350 'includes': [ '../build/apk_test.gypi' ], | 349 'includes': [ '../build/apk_test.gypi' ], |
351 }, | 350 }, |
352 ], | 351 ], |
353 } | 352 } |
354 ] | 353 ] |
355 ], | 354 ], |
356 } | 355 } |
OLD | NEW |