Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 1889073002: Revert of Android: Avoid linking with --gc-sections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after
1916 'browser/profile_resetter/profile_resetter_test_base.h', 1916 'browser/profile_resetter/profile_resetter_test_base.h',
1917 'browser/sessions/session_restore_test_helper.cc', 1917 'browser/sessions/session_restore_test_helper.cc',
1918 'browser/sessions/session_restore_test_helper.h', 1918 'browser/sessions/session_restore_test_helper.h',
1919 'browser/sessions/session_service_test_helper.cc', 1919 'browser/sessions/session_service_test_helper.cc',
1920 'browser/sessions/session_service_test_helper.h', 1920 'browser/sessions/session_service_test_helper.h',
1921 'browser/ui/exclusive_access/fullscreen_controller_state_test.cc', 1921 'browser/ui/exclusive_access/fullscreen_controller_state_test.cc',
1922 'browser/ui/exclusive_access/fullscreen_controller_state_test.h', 1922 'browser/ui/exclusive_access/fullscreen_controller_state_test.h',
1923 'browser/ui/exclusive_access/fullscreen_controller_state_tests.h', 1923 'browser/ui/exclusive_access/fullscreen_controller_state_tests.h',
1924 'browser/ui/exclusive_access/fullscreen_controller_test.cc', 1924 'browser/ui/exclusive_access/fullscreen_controller_test.cc',
1925 'browser/ui/exclusive_access/fullscreen_controller_test.h', 1925 'browser/ui/exclusive_access/fullscreen_controller_test.h',
1926 'browser/ui/passwords/manage_passwords_ui_controller_mock.cc',
1927 'browser/ui/passwords/manage_passwords_ui_controller_mock.h',
1928 'browser/ui/test/test_confirm_bubble_model.cc', 1926 'browser/ui/test/test_confirm_bubble_model.cc',
1929 'browser/ui/test/test_confirm_bubble_model.h', 1927 'browser/ui/test/test_confirm_bubble_model.h',
1930 'renderer/safe_browsing/mock_feature_extractor_clock.cc', 1928 'renderer/safe_browsing/mock_feature_extractor_clock.cc',
1931 'renderer/safe_browsing/mock_feature_extractor_clock.h', 1929 'renderer/safe_browsing/mock_feature_extractor_clock.h',
1932 'test/base/dialog_test_browser_window.cc', 1930 'test/base/dialog_test_browser_window.cc',
1933 'test/base/dialog_test_browser_window.h', 1931 'test/base/dialog_test_browser_window.h',
1934 'test/base/test_browser_window.cc', 1932 'test/base/test_browser_window.cc',
1935 'test/base/test_browser_window.h', 1933 'test/base/test_browser_window.h',
1936 ], 1934 ],
1937 }], 1935 }],
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2253 ['OS!="ios"', { 2251 ['OS!="ios"', {
2254 'dependencies': [ 2252 'dependencies': [
2255 '../components/components.gyp:autofill_content_test_support', 2253 '../components/components.gyp:autofill_content_test_support',
2256 '../components/components.gyp:component_metrics_proto', 2254 '../components/components.gyp:component_metrics_proto',
2257 '../components/components.gyp:data_reduction_proxy_test_support', 2255 '../components/components.gyp:data_reduction_proxy_test_support',
2258 '../components/components.gyp:data_use_measurement_core', 2256 '../components/components.gyp:data_use_measurement_core',
2259 '../components/components.gyp:safe_json_test_support', 2257 '../components/components.gyp:safe_json_test_support',
2260 '../components/components.gyp:webdata_services_test_support', 2258 '../components/components.gyp:webdata_services_test_support',
2261 '../components/components_strings.gyp:components_strings', 2259 '../components/components_strings.gyp:components_strings',
2262 '../content/app/resources/content_resources.gyp:content_resources', 2260 '../content/app/resources/content_resources.gyp:content_resources',
2261 '../device/core/core.gyp:device_core_mocks',
2263 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks', 2262 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
2264 '../device/usb/usb.gyp:device_usb_mocks', 2263 '../device/usb/usb.gyp:device_usb_mocks',
2265 '../gpu/gpu.gyp:gpu_unittest_utils', 2264 '../gpu/gpu.gyp:gpu_unittest_utils',
2266 '../media/media.gyp:media_test_support', 2265 '../media/media.gyp:media_test_support',
2267 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', 2266 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
2268 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 2267 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2269 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' , 2268 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' ,
2270 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', 2269 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
2271 '../third_party/webrtc/modules/modules.gyp:desktop_capture', 2270 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
2272 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j son_schema_compiler_tests', 2271 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j son_schema_compiler_tests',
(...skipping 22 matching lines...) Expand all
2295 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, 2294 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']},
2296 }], 2295 }],
2297 ['OS=="android"', { 2296 ['OS=="android"', {
2298 'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ], 2297 'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ],
2299 'sources!': [ 2298 'sources!': [
2300 'browser/policy/policy_path_parser_unittest.cc', 2299 'browser/policy/policy_path_parser_unittest.cc',
2301 ], 2300 ],
2302 'dependencies!': [ 2301 'dependencies!': [
2303 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' , 2302 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' ,
2304 ], 2303 ],
2304 'ldflags': [
2305 # Some android targets still depend on --gc-sections to link.
2306 # TODO: remove --gc-sections for Debug builds (crbug.com/159847).
2307 '-Wl,--gc-sections',
2308 ],
2305 'dependencies': [ 2309 'dependencies': [
2306 '../testing/android/native_test.gyp:native_test_native_code', 2310 '../testing/android/native_test.gyp:native_test_native_code',
2307 '../components/components.gyp:offline_pages', 2311 '../components/components.gyp:offline_pages',
2308 ], 2312 ],
2309 }, { # Not Android. 2313 }, { # Not Android.
2310 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], 2314 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ],
2311 'sources!': [ 2315 'sources!': [
2312 'browser/download/download_request_infobar_delegate_unittest.cc', 2316 'browser/download/download_request_infobar_delegate_unittest.cc',
2313 ], 2317 ],
2314 }], 2318 }],
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
2355 ['enable_one_click_signin==1', { 2359 ['enable_one_click_signin==1', {
2356 'sources': [ 2360 'sources': [
2357 'browser/ui/sync/one_click_signin_sync_observer_unittest.cc', 2361 'browser/ui/sync/one_click_signin_sync_observer_unittest.cc',
2358 'browser/ui/sync/one_click_signin_sync_starter_unittest.cc', 2362 'browser/ui/sync/one_click_signin_sync_starter_unittest.cc',
2359 ], 2363 ],
2360 }], 2364 }],
2361 ['enable_extensions==1', { 2365 ['enable_extensions==1', {
2362 'sources': [ '<@(chrome_unit_tests_extensions_sources)' ], 2366 'sources': [ '<@(chrome_unit_tests_extensions_sources)' ],
2363 'dependencies': [ 2367 'dependencies': [
2364 'common/extensions/api/api.gyp:chrome_api', 2368 'common/extensions/api/api.gyp:chrome_api',
2369 '../device/hid/hid.gyp:device_hid_mocks',
2365 '../components/components.gyp:audio_modem_test_support', 2370 '../components/components.gyp:audio_modem_test_support',
2366 '../device/core/core.gyp:device_core_mocks',
2367 '../device/hid/hid.gyp:device_hid_mocks',
2368 '../extensions/extensions_resources.gyp:extensions_resources', 2371 '../extensions/extensions_resources.gyp:extensions_resources',
2369 '../extensions/extensions_strings.gyp:extensions_strings', 2372 '../extensions/extensions_strings.gyp:extensions_strings',
2370 ], 2373 ],
2371 'conditions': [ 2374 'conditions': [
2372 ['enable_service_discovery==1', { 2375 ['enable_service_discovery==1', {
2373 'sources': [ '<@(chrome_unit_tests_extensions_service_discovery_so urces)' ], 2376 'sources': [ '<@(chrome_unit_tests_extensions_service_discovery_so urces)' ],
2374 }], 2377 }],
2375 ['chromeos==0', { 2378 ['chromeos==0', {
2376 'sources': [ 2379 'sources': [
2377 '<@(chrome_unit_tests_extensions_non_chromeos_sources)', 2380 '<@(chrome_unit_tests_extensions_non_chromeos_sources)',
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
2999 'dependencies': [ 3002 'dependencies': [
3000 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 3003 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3001 ], 3004 ],
3002 }], 3005 }],
3003 ], 3006 ],
3004 }, 3007 },
3005 ], 3008 ],
3006 }], 3009 }],
3007 ], # 'conditions' 3010 ], # 'conditions'
3008 } 3011 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698