Index: chrome/chrome.gyp |
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp |
index 610a8d43de1ea7f61cc414fbf3ec73c0a731809d..11578fd08fed301744de15d33cd8c83c7652109f 100644 |
--- a/chrome/chrome.gyp |
+++ b/chrome/chrome.gyp |
@@ -483,6 +483,15 @@ |
'CHROMIUM_STRIP_SAVE_FILE': 'app/app_asan.saves', |
}, |
}], |
+ ['component=="shared_library"', { |
+ 'xcode_settings': { |
+ 'LD_RUNPATH_SEARCH_PATHS': [ |
+ # Get back from Chromium.app/Contents/Versions/V/ |
+ # Helper.app/Contents/MacOS |
+ '@loader_path/../../../../../../..', |
+ ], |
+ }, |
+ }], |
], |
}, # target helper_app |
{ |