diff --git a/common.gypi b/common.gypi index e7bcf63d3..5fe318d81 100644 --- a/common.gypi +++ b/common.gypi @@ -2478,6 +2478,13 @@ ['enable_ipc_fuzzer==1', { 'defines': ['ENABLE_IPC_FUZZER=1'], }], + ['OS=="win" and component=="shared_library"', { + 'dependencies': [ + # All targets in a component build must depend on chrome_redirects, + # to ensure that certain calls go through it. + '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects', + ], + }], ], # conditions for 'target_defaults' 'target_conditions': [ ['enable_wexit_time_destructors==1', {