diff options
author | maf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 20:00:32 +0000 |
---|---|---|
committer | maf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 20:00:32 +0000 |
commit | 28878af02e5276badc12ae8508daf201c53ad7b6 (patch) | |
tree | da1a8a939c64b8536a69e7cfe9e3756e456722a5 /o3d/plugin/mac/plugin_fix_install_names.sh | |
parent | 15d278058d3c327b401916b96e202c4017fd55e9 (diff) | |
download | chromium_src-28878af02e5276badc12ae8508daf201c53ad7b6.zip chromium_src-28878af02e5276badc12ae8508daf201c53ad7b6.tar.gz chromium_src-28878af02e5276badc12ae8508daf201c53ad7b6.tar.bz2 |
Add missing frameworks to plugin project.
Adjust a lot of build voodoo to get things set correctly for a mach-o bundled plugin.
Create scripts to install private frameworks and modify the plugin to use the private copies.
Review URL: http://codereview.chromium.org/173329
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin/mac/plugin_fix_install_names.sh')
-rwxr-xr-x | o3d/plugin/mac/plugin_fix_install_names.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/o3d/plugin/mac/plugin_fix_install_names.sh b/o3d/plugin/mac/plugin_fix_install_names.sh new file mode 100755 index 0000000..36ec595 --- /dev/null +++ b/o3d/plugin/mac/plugin_fix_install_names.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# Make plugin look in its private Frameworks directory for these frameworks. + +# First take care of Breakpad.framework +/usr/bin/install_name_tool -change \ + @executable_path/../Frameworks/Breakpad.framework/Versions/A/Breakpad \ + @loader_path/../Frameworks/Breakpad.framework/Versions/A/Breakpad \ + "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" + +# Cg.framework +/usr/bin/install_name_tool -change \ + @executable_path/../Library/Frameworks/Cg.framework/Cg \ + @loader_path/../Frameworks/Cg.framework/Cg \ + "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" |