| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 '../ui/gfx/gfx.gyp:gfx_geometry', | 340 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 341 '../ui/gfx/gfx.gyp:gfx_test_support', | 341 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 342 '../ui/gl/gl.gyp:gl', | 342 '../ui/gl/gl.gyp:gl', |
| 343 ], | 343 ], |
| 344 'sources': [ | 344 'sources': [ |
| 345 '<@(cc_tests_support_files)', | 345 '<@(cc_tests_support_files)', |
| 346 ], | 346 ], |
| 347 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 347 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 348 'msvs_disabled_warnings': [ 4267, ], | 348 'msvs_disabled_warnings': [ 4267, ], |
| 349 }, | 349 }, |
| 350 { |
| 351 'target_name': 'cc_surfaces_unittests', |
| 352 'type': '<(gtest_target_type)', |
| 353 'dependencies': [ |
| 354 '../base/base.gyp:test_support_base', |
| 355 '../media/media.gyp:media', |
| 356 '../skia/skia.gyp:skia', |
| 357 '../testing/gmock.gyp:gmock', |
| 358 '../testing/gtest.gyp:gtest', |
| 359 '../ui/gfx/gfx.gyp:gfx', |
| 360 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 361 'cc.gyp:cc', |
| 362 'cc.gyp:cc_surfaces', |
| 363 'cc_test_support', |
| 364 ], |
| 365 'sources': [ |
| 366 'test/run_all_unittests.cc', |
| 367 'test/cc_test_suite.cc', |
| 368 'surfaces/surface_unittest.cc', |
| 369 ], |
| 370 'include_dirs': [ |
| 371 'test', |
| 372 '.', |
| 373 ], |
| 374 'conditions': [ |
| 375 ['OS == "android" and gtest_target_type == "shared_library"', |
| 376 { |
| 377 'dependencies': [ |
| 378 '../testing/android/native_test.gyp:native_test_native_code', |
| 379 ], |
| 380 } |
| 381 ], |
| 382 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', |
| 383 { |
| 384 'conditions': [ |
| 385 [ 'linux_use_tcmalloc==1', |
| 386 { |
| 387 'dependencies': [ |
| 388 '../base/allocator/allocator.gyp:allocator', |
| 389 ], |
| 390 } |
| 391 ], |
| 392 ], |
| 393 } |
| 394 ], |
| 395 ], |
| 396 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 397 'msvs_disabled_warnings': [ 4267, ], |
| 398 } |
| 350 ], | 399 ], |
| 351 'conditions': [ | 400 'conditions': [ |
| 352 # Special target to wrap a gtest_target_type==shared_library | 401 # Special target to wrap a gtest_target_type==shared_library |
| 353 # cc_unittests into an android apk for execution. | 402 # cc_unittests into an android apk for execution. |
| 354 ['OS == "android" and gtest_target_type == "shared_library"', | 403 ['OS == "android" and gtest_target_type == "shared_library"', |
| 355 { | 404 { |
| 356 'targets': [ | 405 'targets': [ |
| 357 { | 406 { |
| 358 'target_name': 'cc_unittests_apk', | 407 'target_name': 'cc_unittests_apk', |
| 359 'type': 'none', | 408 'type': 'none', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 376 'test_suite_name': 'cc_perftests', | 425 'test_suite_name': 'cc_perftests', |
| 377 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perf
tests<(SHARED_LIB_SUFFIX)', | 426 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perf
tests<(SHARED_LIB_SUFFIX)', |
| 378 }, | 427 }, |
| 379 'includes': [ '../build/apk_test.gypi' ], | 428 'includes': [ '../build/apk_test.gypi' ], |
| 380 }, | 429 }, |
| 381 ], | 430 ], |
| 382 } | 431 } |
| 383 ] | 432 ] |
| 384 ], | 433 ], |
| 385 } | 434 } |
| OLD | NEW |