Fix Mac settings to allow both Xcode debugging and app execution (issue #199).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@204 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-03-22 22:59:02 +00:00
parent 0e3f74b199
commit 27496a992a
3 changed files with 4 additions and 7 deletions

View File

@@ -141,7 +141,6 @@
'files': [ 'files': [
'<(PRODUCT_DIR)/libcef.dylib', '<(PRODUCT_DIR)/libcef.dylib',
'<(PRODUCT_DIR)/libffmpegsumo.dylib', '<(PRODUCT_DIR)/libffmpegsumo.dylib',
'tests/cefclient/cefclient_mac_app.sh',
], ],
}, },
{ {
@@ -366,6 +365,9 @@
'libcef_dll/transfer_util.cpp', 'libcef_dll/transfer_util.cpp',
'libcef_dll/transfer_util.h', 'libcef_dll/transfer_util.h',
], ],
'xcode_settings': {
'INSTALL_PATH': '@executable_path',
},
'conditions': [ 'conditions': [
['OS=="win"', { ['OS=="win"', {
'dependencies': [ 'dependencies': [

View File

@@ -1,5 +0,0 @@
#!/bin/sh
DIR=$(cd "$(dirname "$0")"; pwd)
export DYLD_FALLBACK_LIBRARY_PATH="$DIR:/lib:/usr/lib"
exec "$DIR/cefclient"

View File

@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>English</string> <string>English</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>cefclient_mac_app.sh</string> <string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>cefclient.icns</string> <string>cefclient.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>