| 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 'includes': [ | 9 'includes': [ |
| 10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 'includes': ['../build/nocompile.gypi'], | 525 'includes': ['../build/nocompile.gypi'], |
| 526 'variables': { | 526 'variables': { |
| 527 # TODO(ajwong): Is there a way to autodetect this? | 527 # TODO(ajwong): Is there a way to autodetect this? |
| 528 'module_dir': 'base' | 528 'module_dir': 'base' |
| 529 }, | 529 }, |
| 530 'conditions': [ | 530 'conditions': [ |
| 531 ['OS == "android"', { | 531 ['OS == "android"', { |
| 532 'sources!': [ | 532 'sources!': [ |
| 533 # TODO(michaelbai): Removed the below once the fix upstreamed. | 533 # TODO(michaelbai): Removed the below once the fix upstreamed. |
| 534 'debug/stack_trace_unittest.cc', | 534 'debug/stack_trace_unittest.cc', |
| 535 'memory/mru_cache_unittest.cc', | |
| 536 'synchronization/cancellation_flag_unittest.cc', | |
| 537 ], | 535 ], |
| 538 'dependencies': [ | 536 'dependencies': [ |
| 539 'android/jni_generator/jni_generator.gyp:jni_generator_tests', | 537 'android/jni_generator/jni_generator.gyp:jni_generator_tests', |
| 540 ], | 538 ], |
| 541 'conditions': [ | 539 'conditions': [ |
| 542 ['gtest_target_type == "shared_library"', { | 540 ['gtest_target_type == "shared_library"', { |
| 543 'dependencies': [ | 541 'dependencies': [ |
| 544 '../testing/android/native_test.gyp:native_test_native_code', | 542 '../testing/android/native_test.gyp:native_test_native_code', |
| 545 ], | 543 ], |
| 546 }, { # gtest_target_type != shared_library | |
| 547 'sources!': [ | |
| 548 # The below files are excluded because of the missing JNI. | |
| 549 'android/jni_android_unittest.cc', | |
| 550 'android/path_utils_unittest.cc', | |
| 551 'android/scoped_java_ref_unittest.cc', | |
| 552 ], | |
| 553 }], | 544 }], |
| 554 ], | 545 ], |
| 555 }], | 546 }], |
| 556 ['OS == "ios"', { | 547 ['OS == "ios"', { |
| 557 'sources/': [ | 548 'sources/': [ |
| 558 # Only test the iOS-meaningful portion of process_utils. | 549 # Only test the iOS-meaningful portion of process_utils. |
| 559 ['exclude', '^process_util_unittest'], | 550 ['exclude', '^process_util_unittest'], |
| 560 ['include', '^process_util_unittest_ios\\.cc$'], | 551 ['include', '^process_util_unittest_ios\\.cc$'], |
| 561 # Requires spawning processes. | 552 # Requires spawning processes. |
| 562 ['exclude', '^metrics/stats_table_unittest\\.cc$'], | 553 ['exclude', '^metrics/stats_table_unittest\\.cc$'], |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1058 'test_suite_name': 'base_unittests', | 1049 'test_suite_name': 'base_unittests', |
| 1059 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit
tests<(SHARED_LIB_SUFFIX)', | 1050 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)base_unit
tests<(SHARED_LIB_SUFFIX)', |
| 1060 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], | 1051 'input_jars_paths': ['<(PRODUCT_DIR)/lib.java/chromium_base.jar',], |
| 1061 }, | 1052 }, |
| 1062 'includes': [ '../build/apk_test.gypi' ], | 1053 'includes': [ '../build/apk_test.gypi' ], |
| 1063 }, | 1054 }, |
| 1064 ], | 1055 ], |
| 1065 }], | 1056 }], |
| 1066 ], | 1057 ], |
| 1067 } | 1058 } |
| OLD | NEW |