- Mac: Fix cefclient app package build and execution problems.
- Improve error message in ClientHandler::HandleLoadError. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@142 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
811a0ce08b
commit
227b9df643
21
cef.gyp
21
cef.gyp
|
@ -125,24 +125,21 @@
|
|||
},
|
||||
],
|
||||
'copies': [
|
||||
# TODO(ajwong): This, and the parallel chromium stanza below
|
||||
# really should find a way to share file paths with
|
||||
# ffmpeg.gyp so they don't diverge. (BUG=23602)
|
||||
{
|
||||
# Add library dependencies and app launcher script to the bundle.
|
||||
'destination': '<(PRODUCT_DIR)/cefclient.app/Contents/MacOS/',
|
||||
'files': ['<(PRODUCT_DIR)/libffmpegsumo.dylib'],
|
||||
},
|
||||
{
|
||||
# TODO(tony): We should have cefclient.app load plugins from
|
||||
# <(PRODUCT_DIR)/plugins so we don't have this extra copy of
|
||||
# the plugin.
|
||||
'destination': '<(PRODUCT_DIR)/cefclient.app/Contents/PlugIns/',
|
||||
'files': ['<(PRODUCT_DIR)/TestNetscapePlugIn.plugin/'],
|
||||
'files': [
|
||||
'<(PRODUCT_DIR)/libcef.dylib',
|
||||
'<(PRODUCT_DIR)/libffmpegsumo.dylib',
|
||||
'tests/cefclient/cefclient_mac_app.sh',
|
||||
],
|
||||
},
|
||||
{
|
||||
# Add the WebCore resources to the bundle.
|
||||
'destination': '<(PRODUCT_DIR)/cefclient.app/Contents/',
|
||||
'files': ['../third_party/WebKit/WebCore/Resources/'],
|
||||
'files': [
|
||||
'../third_party/WebKit/WebCore/Resources/',
|
||||
],
|
||||
},
|
||||
],
|
||||
'link_settings': {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
DIR=$(cd "$(dirname "$0")"; pwd)
|
||||
export DYLD_FALLBACK_LIBRARY_PATH="$DIR:/lib:/usr/lib"
|
||||
exec "$DIR/cefclient"
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<string>cefclient_mac_app.sh</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>cefclient.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
|
|
Loading…
Reference in New Issue