make: Add basic support for LD_DYLIB_INSTALL_NAME. 
make: Add basic support for LD_DYLIB_INSTALL_NAME. 

Also hardcode support for variables in LD_DYLIB_INSTALL_NAME for the 
variables used in chromium. Real support will require more refactoring. 

Not setting LD_DYLIB_INSTALL_NAME used to be mostly harmless, but 
now unit_tests no longer works when it's not set, at least with the Xcode 3 
toolchain. 

Also rename 
_GetBundleExtension -> GetWrapperExtension 
GetBundleName -> GetWrapperName 
to be closer to the Xcode configuration variables and add a new function 
GetProductName for the same reason. This has no behavior change.

Review URL: http://codereview.chromium.org/7633048/


old8xp/gyp_from_google,old8xp/gyp_from_google,old8xp/gyp_from_google,old8xp/gyp_from_google,old8xp/gyp_from_google