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

Unified Diff: trunk/src/mojo/mojo_public.gypi

Issue 214833004: Revert 259788 "Fixup mojo dylibs" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/content/content_shell.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/mojo_public.gypi
===================================================================
--- trunk/src/mojo/mojo_public.gypi (revision 259907)
+++ trunk/src/mojo/mojo_public.gypi (working copy)
@@ -26,17 +26,15 @@
'conditions': [
['OS=="mac"', {
'xcode_settings': {
- # Make it a loader-path dependent library.
- 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
+ # Make it a run-path dependent library.
+ 'DYLIB_INSTALL_NAME_BASE': '@rpath',
},
- 'conditions': [
- ['mac_breakpad==1', {
- 'variables': {
- # A real .dSYM is needed for dump_syms to operate on.
- 'mac_real_dsym': 1,
- },
- }],
- ],
+ 'direct_dependent_settings': {
+ 'xcode_settings': {
+ # Look for run-path dependent libraries in the loader's directory.
+ 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ],
+ },
+ },
}],
],
},
@@ -70,9 +68,15 @@
'conditions': [
['OS=="mac"', {
'xcode_settings': {
- # Make it a loader-path dependent library.
- 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
+ # Make it a run-path dependent library.
+ 'DYLIB_INSTALL_NAME_BASE': '@rpath',
},
+ 'direct_dependent_settings': {
+ 'xcode_settings': {
+ # Look for run-path dependent libraries in the loader's directory.
+ 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ],
+ },
+ },
}],
],
},
@@ -99,9 +103,15 @@
'conditions': [
['OS=="mac"', {
'xcode_settings': {
- # Make it a loader-path dependent library.
- 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
+ # Make it a run-path dependent library.
+ 'DYLIB_INSTALL_NAME_BASE': '@rpath',
},
+ 'direct_dependent_settings': {
+ 'xcode_settings': {
+ # Look for run-path dependent libraries in the loader's directory.
+ 'LD_RUNPATH_SEARCH_PATHS': [ '@loader_path/.', ],
+ },
+ },
}],
],
},
« no previous file with comments | « trunk/src/content/content_shell.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698