OLD | NEW |
1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 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 'variables': { | 5 'variables': { |
6 'chrome_unit_tests_sources': [ | 6 'chrome_unit_tests_sources': [ |
7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this | 7 # histograms.xml is analyzed by AboutFlagsHistogramTest, so this |
8 # dependency is needed to make commit bots run unit_tests on | 8 # dependency is needed to make commit bots run unit_tests on |
9 # histograms.xml changes. | 9 # histograms.xml changes. |
10 '../tools/metrics/histograms/histograms.xml', | 10 '../tools/metrics/histograms/histograms.xml', |
(...skipping 2286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2297 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput'
, | 2297 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput'
, |
2298 ], | 2298 ], |
2299 'ldflags': [ | 2299 'ldflags': [ |
2300 # Some android targets still depend on --gc-sections to link. | 2300 # Some android targets still depend on --gc-sections to link. |
2301 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 2301 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
2302 '-Wl,--gc-sections', | 2302 '-Wl,--gc-sections', |
2303 ], | 2303 ], |
2304 'dependencies': [ | 2304 'dependencies': [ |
2305 '../testing/android/native_test.gyp:native_test_native_code', | 2305 '../testing/android/native_test.gyp:native_test_native_code', |
2306 '../components/components.gyp:offline_pages', | 2306 '../components/components.gyp:offline_pages', |
| 2307 '../content/content_shell_and_tests.gyp:layouttest_support_content', |
2307 ], | 2308 ], |
2308 }, { # Not Android. | 2309 }, { # Not Android. |
2309 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], | 2310 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], |
2310 'sources!': [ | 2311 'sources!': [ |
2311 'browser/download/download_request_infobar_delegate_unittest.cc', | 2312 'browser/download/download_request_infobar_delegate_unittest.cc', |
2312 ], | 2313 ], |
2313 }], | 2314 }], |
2314 ['OS!="android" and OS!="ios"', { | 2315 ['OS!="android" and OS!="ios"', { |
2315 'dependencies': [ | 2316 'dependencies': [ |
2316 '../v8/tools/gyp/v8.gyp:v8', | 2317 '../v8/tools/gyp/v8.gyp:v8', |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2896 ], | 2897 ], |
2897 'includes': [ '../build/java.gypi' ], | 2898 'includes': [ '../build/java.gypi' ], |
2898 }, | 2899 }, |
2899 { | 2900 { |
2900 'target_name': 'unit_tests_apk', | 2901 'target_name': 'unit_tests_apk', |
2901 'type': 'none', | 2902 'type': 'none', |
2902 'dependencies': [ | 2903 'dependencies': [ |
2903 'chrome_java', | 2904 'chrome_java', |
2904 'unit_tests_java', | 2905 'unit_tests_java', |
2905 'unit_tests', | 2906 'unit_tests', |
| 2907 '../content/content_shell_and_tests.gyp:content_java_test_support', |
2906 ], | 2908 ], |
2907 'variables': { | 2909 'variables': { |
2908 'test_suite_name': 'unit_tests', | 2910 'test_suite_name': 'unit_tests', |
2909 'isolate_file': 'unit_tests.isolate', | 2911 'isolate_file': 'unit_tests.isolate', |
2910 'android_manifest_path': 'test/android/unit_tests_apk/AndroidManifes
t.xml', | 2912 'android_manifest_path': 'test/android/unit_tests_apk/AndroidManifes
t.xml', |
2911 'enable_multidex': 1, | 2913 'enable_multidex': 1, |
2912 'conditions': [ | 2914 'conditions': [ |
2913 ['v8_use_external_startup_data==1', { | 2915 ['v8_use_external_startup_data==1', { |
2914 'asset_location': '<(PRODUCT_DIR)/unit_tests_apk/assets', | 2916 'asset_location': '<(PRODUCT_DIR)/unit_tests_apk/assets', |
2915 'additional_input_paths': [ | 2917 'additional_input_paths': [ |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2997 'dependencies': [ | 2999 'dependencies': [ |
2998 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 3000 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2999 ], | 3001 ], |
3000 }], | 3002 }], |
3001 ], | 3003 ], |
3002 }, | 3004 }, |
3003 ], | 3005 ], |
3004 }], | 3006 }], |
3005 ], # 'conditions' | 3007 ], # 'conditions' |
3006 } | 3008 } |
OLD | NEW |