| 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 2162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2173 # NOTE: New dependencies should generally be added in the OS!="ios" | 2173 # NOTE: New dependencies should generally be added in the OS!="ios" |
| 2174 # dependencies block below, rather than here. | 2174 # dependencies block below, rather than here. |
| 2175 # Unit tests should only depend on: | 2175 # Unit tests should only depend on: |
| 2176 # 1) everything that the chrome binaries depend on: | 2176 # 1) everything that the chrome binaries depend on: |
| 2177 '<@(chromium_browser_dependencies)', | 2177 '<@(chromium_browser_dependencies)', |
| 2178 '<@(chromium_child_dependencies)', | 2178 '<@(chromium_child_dependencies)', |
| 2179 # 2) test-specific support libraries: | 2179 # 2) test-specific support libraries: |
| 2180 '../base/base.gyp:test_support_base', | 2180 '../base/base.gyp:test_support_base', |
| 2181 '../components/components_resources.gyp:components_resources', | 2181 '../components/components_resources.gyp:components_resources', |
| 2182 '../components/components.gyp:content_settings_core_test_support', | 2182 '../components/components.gyp:content_settings_core_test_support', |
| 2183 '../components/components.gyp:gcm_driver', |
| 2183 '../components/components.gyp:password_manager_core_browser_test_support
', | 2184 '../components/components.gyp:password_manager_core_browser_test_support
', |
| 2184 '../components/components.gyp:syncable_prefs_test_support', | 2185 '../components/components.gyp:syncable_prefs_test_support', |
| 2185 '../components/components.gyp:ui_zoom_test_support', | 2186 '../components/components.gyp:ui_zoom_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', |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2280 'dependencies!': [ | 2281 'dependencies!': [ |
| 2281 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput'
, | 2282 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput'
, |
| 2282 ], | 2283 ], |
| 2283 'ldflags': [ | 2284 'ldflags': [ |
| 2284 # Some android targets still depend on --gc-sections to link. | 2285 # Some android targets still depend on --gc-sections to link. |
| 2285 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). | 2286 # TODO: remove --gc-sections for Debug builds (crbug.com/159847). |
| 2286 '-Wl,--gc-sections', | 2287 '-Wl,--gc-sections', |
| 2287 ], | 2288 ], |
| 2288 'dependencies': [ | 2289 'dependencies': [ |
| 2289 '../testing/android/native_test.gyp:native_test_native_code', | 2290 '../testing/android/native_test.gyp:native_test_native_code', |
| 2291 '../components/components.gyp:gcm_driver', |
| 2290 ], | 2292 ], |
| 2291 }, { # Not Android. | 2293 }, { # Not Android. |
| 2292 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], | 2294 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], |
| 2293 'sources!': [ | 2295 'sources!': [ |
| 2294 'browser/download/download_request_infobar_delegate_unittest.cc', | 2296 'browser/download/download_request_infobar_delegate_unittest.cc', |
| 2295 ], | 2297 ], |
| 2296 }], | 2298 }], |
| 2297 ['OS!="android" and OS!="ios"', { | 2299 ['OS!="android" and OS!="ios"', { |
| 2298 'sources': [ '<@(chrome_unit_tests_non_mobile_sources)' ], | 2300 'sources': [ '<@(chrome_unit_tests_non_mobile_sources)' ], |
| 2299 }], | 2301 }], |
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2977 'dependencies': [ | 2979 'dependencies': [ |
| 2978 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2980 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 2979 ], | 2981 ], |
| 2980 }], | 2982 }], |
| 2981 ], | 2983 ], |
| 2982 }, | 2984 }, |
| 2983 ], | 2985 ], |
| 2984 }], | 2986 }], |
| 2985 ], # 'conditions' | 2987 ], # 'conditions' |
| 2986 } | 2988 } |
| OLD | NEW |