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

Side by Side Diff: chrome/chrome_tests_unit.gypi

Issue 1883723004: Android: Avoid linking with --gc-sections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back to patch set 3 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',
1926 'browser/ui/test/test_confirm_bubble_model.cc', 1928 'browser/ui/test/test_confirm_bubble_model.cc',
1927 'browser/ui/test/test_confirm_bubble_model.h', 1929 'browser/ui/test/test_confirm_bubble_model.h',
1928 'renderer/safe_browsing/mock_feature_extractor_clock.cc', 1930 'renderer/safe_browsing/mock_feature_extractor_clock.cc',
1929 'renderer/safe_browsing/mock_feature_extractor_clock.h', 1931 'renderer/safe_browsing/mock_feature_extractor_clock.h',
1930 'test/base/dialog_test_browser_window.cc', 1932 'test/base/dialog_test_browser_window.cc',
1931 'test/base/dialog_test_browser_window.h', 1933 'test/base/dialog_test_browser_window.h',
1932 'test/base/test_browser_window.cc', 1934 'test/base/test_browser_window.cc',
1933 'test/base/test_browser_window.h', 1935 'test/base/test_browser_window.h',
1934 ], 1936 ],
1935 }], 1937 }],
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2251 ['OS!="ios"', { 2253 ['OS!="ios"', {
2252 'dependencies': [ 2254 'dependencies': [
2253 '../components/components.gyp:autofill_content_test_support', 2255 '../components/components.gyp:autofill_content_test_support',
2254 '../components/components.gyp:component_metrics_proto', 2256 '../components/components.gyp:component_metrics_proto',
2255 '../components/components.gyp:data_reduction_proxy_test_support', 2257 '../components/components.gyp:data_reduction_proxy_test_support',
2256 '../components/components.gyp:data_use_measurement_core', 2258 '../components/components.gyp:data_use_measurement_core',
2257 '../components/components.gyp:safe_json_test_support', 2259 '../components/components.gyp:safe_json_test_support',
2258 '../components/components.gyp:webdata_services_test_support', 2260 '../components/components.gyp:webdata_services_test_support',
2259 '../components/components_strings.gyp:components_strings', 2261 '../components/components_strings.gyp:components_strings',
2260 '../content/app/resources/content_resources.gyp:content_resources', 2262 '../content/app/resources/content_resources.gyp:content_resources',
2261 '../device/core/core.gyp:device_core_mocks',
2262 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks', 2263 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
2263 '../device/usb/usb.gyp:device_usb_mocks', 2264 '../device/usb/usb.gyp:device_usb_mocks',
2264 '../gpu/gpu.gyp:gpu_unittest_utils', 2265 '../gpu/gpu.gyp:gpu_unittest_utils',
2265 '../media/media.gyp:media_test_support', 2266 '../media/media.gyp:media_test_support',
2266 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', 2267 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
2267 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 2268 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2268 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' , 2269 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' ,
2269 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', 2270 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
2270 '../third_party/webrtc/modules/modules.gyp:desktop_capture', 2271 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
2271 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j son_schema_compiler_tests', 2272 '../tools/json_schema_compiler/test/json_schema_compiler_tests.gyp:j son_schema_compiler_tests',
(...skipping 22 matching lines...) Expand all
2294 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']}, 2295 'xcode_settings': {'OTHER_LDFLAGS': ['-ObjC']},
2295 }], 2296 }],
2296 ['OS=="android"', { 2297 ['OS=="android"', {
2297 'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ], 2298 'sources': [ '<@(chrome_unit_tests_offline_pages_sources)' ],
2298 'sources!': [ 2299 'sources!': [
2299 'browser/policy/policy_path_parser_unittest.cc', 2300 'browser/policy/policy_path_parser_unittest.cc',
2300 ], 2301 ],
2301 'dependencies!': [ 2302 'dependencies!': [
2302 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' , 2303 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput' ,
2303 ], 2304 ],
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 ],
2309 'dependencies': [ 2305 'dependencies': [
2310 '../testing/android/native_test.gyp:native_test_native_code', 2306 '../testing/android/native_test.gyp:native_test_native_code',
2311 '../components/components.gyp:offline_pages', 2307 '../components/components.gyp:offline_pages',
2312 ], 2308 ],
2313 }, { # Not Android. 2309 }, { # Not Android.
2314 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ], 2310 'sources': [ '<@(chrome_unit_tests_non_android_sources)' ],
2315 'sources!': [ 2311 'sources!': [
2316 'browser/download/download_request_infobar_delegate_unittest.cc', 2312 'browser/download/download_request_infobar_delegate_unittest.cc',
2317 ], 2313 ],
2318 }], 2314 }],
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
2359 ['enable_one_click_signin==1', { 2355 ['enable_one_click_signin==1', {
2360 'sources': [ 2356 'sources': [
2361 'browser/ui/sync/one_click_signin_sync_observer_unittest.cc', 2357 'browser/ui/sync/one_click_signin_sync_observer_unittest.cc',
2362 'browser/ui/sync/one_click_signin_sync_starter_unittest.cc', 2358 'browser/ui/sync/one_click_signin_sync_starter_unittest.cc',
2363 ], 2359 ],
2364 }], 2360 }],
2365 ['enable_extensions==1', { 2361 ['enable_extensions==1', {
2366 'sources': [ '<@(chrome_unit_tests_extensions_sources)' ], 2362 'sources': [ '<@(chrome_unit_tests_extensions_sources)' ],
2367 'dependencies': [ 2363 'dependencies': [
2368 'common/extensions/api/api.gyp:chrome_api', 2364 'common/extensions/api/api.gyp:chrome_api',
2365 '../components/components.gyp:audio_modem_test_support',
2366 '../device/core/core.gyp:device_core_mocks',
2369 '../device/hid/hid.gyp:device_hid_mocks', 2367 '../device/hid/hid.gyp:device_hid_mocks',
2370 '../components/components.gyp:audio_modem_test_support',
2371 '../extensions/extensions_resources.gyp:extensions_resources', 2368 '../extensions/extensions_resources.gyp:extensions_resources',
2372 '../extensions/extensions_strings.gyp:extensions_strings', 2369 '../extensions/extensions_strings.gyp:extensions_strings',
2373 ], 2370 ],
2374 'conditions': [ 2371 'conditions': [
2375 ['enable_service_discovery==1', { 2372 ['enable_service_discovery==1', {
2376 'sources': [ '<@(chrome_unit_tests_extensions_service_discovery_so urces)' ], 2373 'sources': [ '<@(chrome_unit_tests_extensions_service_discovery_so urces)' ],
2377 }], 2374 }],
2378 ['chromeos==0', { 2375 ['chromeos==0', {
2379 'sources': [ 2376 'sources': [
2380 '<@(chrome_unit_tests_extensions_non_chromeos_sources)', 2377 '<@(chrome_unit_tests_extensions_non_chromeos_sources)',
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
3002 'dependencies': [ 2999 'dependencies': [
3003 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 3000 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3004 ], 3001 ],
3005 }], 3002 }],
3006 ], 3003 ],
3007 }, 3004 },
3008 ], 3005 ],
3009 }], 3006 }],
3010 ], # 'conditions' 3007 ], # 'conditions'
3011 } 3008 }
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