| 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 2163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2174 # NOTE: New dependencies should generally be added in the OS!="ios" | 2174 # NOTE: New dependencies should generally be added in the OS!="ios" |
| 2175 # dependencies block below, rather than here. | 2175 # dependencies block below, rather than here. |
| 2176 # Unit tests should only depend on: | 2176 # Unit tests should only depend on: |
| 2177 # 1) everything that the chrome binaries depend on: | 2177 # 1) everything that the chrome binaries depend on: |
| 2178 '<@(chromium_browser_dependencies)', | 2178 '<@(chromium_browser_dependencies)', |
| 2179 '<@(chromium_child_dependencies)', | 2179 '<@(chromium_child_dependencies)', |
| 2180 # 2) test-specific support libraries: | 2180 # 2) test-specific support libraries: |
| 2181 '../base/base.gyp:test_support_base', | 2181 '../base/base.gyp:test_support_base', |
| 2182 '../components/components_resources.gyp:components_resources', | 2182 '../components/components_resources.gyp:components_resources', |
| 2183 '../components/components.gyp:content_settings_core_test_support', | 2183 '../components/components.gyp:content_settings_core_test_support', |
| 2184 '../components/components.gyp:gcm_driver', |
| 2184 '../components/components.gyp:password_manager_core_browser_test_support
', | 2185 '../components/components.gyp:password_manager_core_browser_test_support
', |
| 2185 '../components/components.gyp:syncable_prefs_test_support', | 2186 '../components/components.gyp:syncable_prefs_test_support', |
| 2186 '../content/content_shell_and_tests.gyp:test_support_content', | 2187 '../content/content_shell_and_tests.gyp:test_support_content', |
| 2187 '../content/content.gyp:content_app_both', | 2188 '../content/content.gyp:content_app_both', |
| 2188 '../crypto/crypto.gyp:crypto_test_support', | 2189 '../crypto/crypto.gyp:crypto_test_support', |
| 2189 '../net/net.gyp:net', | 2190 '../net/net.gyp:net', |
| 2190 '../net/net.gyp:net_test_support', | 2191 '../net/net.gyp:net_test_support', |
| 2191 '../sync/sync.gyp:test_support_sync_api', | 2192 '../sync/sync.gyp:test_support_sync_api', |
| 2192 '../sync/sync.gyp:test_support_sync_core', | 2193 '../sync/sync.gyp:test_support_sync_core', |
| 2193 '../sync/sync.gyp:test_support_sync_internal_api', | 2194 '../sync/sync.gyp:test_support_sync_internal_api', |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2668 'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc', | 2669 'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc', |
| 2669 'renderer/spellchecker/spellcheck_unittest.cc', | 2670 'renderer/spellchecker/spellcheck_unittest.cc', |
| 2670 ], | 2671 ], |
| 2671 'ldflags': [ | 2672 'ldflags': [ |
| 2672 # Some android targets still depend on --gc-sections to link. | 2673 # Some android targets still depend on --gc-sections to link. |
| 2673 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 2674 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
| 2674 '-Wl,--gc-sections', | 2675 '-Wl,--gc-sections', |
| 2675 ], | 2676 ], |
| 2676 'dependencies': [ | 2677 'dependencies': [ |
| 2677 '../testing/android/native_test.gyp:native_test_native_code', | 2678 '../testing/android/native_test.gyp:native_test_native_code', |
| 2679 '../components/components.gyp:gcm_driver', |
| 2678 ], | 2680 ], |
| 2679 }, { # Not Android. | 2681 }, { # Not Android. |
| 2680 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], | 2682 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], |
| 2681 'sources!': [ | 2683 'sources!': [ |
| 2682 'browser/download/download_request_infobar_delegate_unittest.cc', | 2684 'browser/download/download_request_infobar_delegate_unittest.cc', |
| 2683 ], | 2685 ], |
| 2684 }], | 2686 }], |
| 2685 ['enable_themes == 1', { | 2687 ['enable_themes == 1', { |
| 2686 'sources': [ '<@(chrome_unit_tests_themes_sources)' ], | 2688 'sources': [ '<@(chrome_unit_tests_themes_sources)' ], |
| 2687 }], | 2689 }], |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2975 'dependencies': [ | 2977 'dependencies': [ |
| 2976 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2978 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 2977 ], | 2979 ], |
| 2978 }], | 2980 }], |
| 2979 ], | 2981 ], |
| 2980 }, | 2982 }, |
| 2981 ], | 2983 ], |
| 2982 }], | 2984 }], |
| 2983 ], # 'conditions' | 2985 ], # 'conditions' |
| 2984 } | 2986 } |
| OLD | NEW |