Descriptionmac: Don't require DYLD_LIBRARY_PATH to be set when using the shared build.
Set the install name of all dylibs to @rpath.
Set the rpath of all executables to '@loader_path/.' (for normal binaries)
and '@loader_path/../../..' (for bundled binaries).
Also, Chromium Helper.app doesn't end up in out/Release but
somewhere below Chromium.app, so set its rpath to
'@loader_path/../../../../../../..' to get all the way back to
out/Release.
Also add "(allow file-read-metadata)" to the sandbox definition when
running on 10.6 or earlier when using the component build, to work
around a bug in dyld (see http://crbug.com/127465).
BUG=90078, 127465
TEST=Do a components build. DYLD_LIBRARY_PATH isn't necessary at
build time, and isn't necessary when running chromium or test binaries.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139550
Patch Set 1 #Patch Set 2 : works #Patch Set 3 : rebase #Patch Set 4 : no10.7 #Patch Set 5 : simpler #
Total comments: 4
Patch Set 6 : comments #
Total comments: 2
Messages
Total messages: 9 (0 generated)
|