aboutsummaryrefslogtreecommitdiff
path: root/tools/make_distrib.sh
diff options
context:
space:
mode:
authorMarshall Greenblatt <magreenblatt@gmail.com>2015-09-27 15:11:57 +0300
committerMarshall Greenblatt <magreenblatt@gmail.com>2015-09-27 17:07:01 +0300
commitd68c613cb88c06b61d5e982c0a89d3df6c89de7c (patch)
tree4db3cec1d7f140f34479e08c662d57273b4b6335 /tools/make_distrib.sh
parenta1e06a4a046671b4170f47d34623f7d69b6446f4 (diff)
downloadjcef-d68c613cb88c06b61d5e982c0a89d3df6c89de7c.tar.gz
Remove GYP and depot_tools dependencies (issue #171)
Diffstat (limited to 'tools/make_distrib.sh')
-rwxr-xr-xtools/make_distrib.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/tools/make_distrib.sh b/tools/make_distrib.sh
index 73a1292..ab3e36b 100755
--- a/tools/make_distrib.sh
+++ b/tools/make_distrib.sh
@@ -8,7 +8,7 @@ if [ -z "$1" ]; then
else
cd ..
- export DISTRIB_TARGET="$1"
+ export DISTRIB_PLATFORM="$1"
export DISTRIB_PATH="./binary_distrib/$1"
export DISTRIB_BIN_PATH="$DISTRIB_PATH/bin"
export DISTRIB_DOCS_PATH="$DISTRIB_PATH/docs"
@@ -32,7 +32,7 @@ else
cp -rf $OUT_DOCS_PATH $DISTRIB_DOCS_PATH
# Create README.txt
- python tools/make_readme.py --output-dir $DISTRIB_PATH/ --target $DISTRIB_TARGET
+ python tools/make_readme.py --output-dir $DISTRIB_PATH/ --platform $DISTRIB_PLATFORM
# Copy miscellaneous files to the root directory.
cp -f ./LICENSE.txt $DISTRIB_PATH
@@ -40,12 +40,7 @@ else
rsync -a --exclude-from $EXCLUDE_FILE $TOOLS_DISTRIB_PATH/ $DISTRIB_PATH/
if [ $1 == "macosx64" ]; then
- export OUT_BINARY_PATH="./xcodebuild/Release"
-
- # Alternately look in the CMake output path.
- if [ ! -d "$OUT_BINARY_PATH" ]; then
- export OUT_BINARY_PATH="./jcef_build/native/Release"
- fi
+ export OUT_BINARY_PATH="./jcef_build/native/Release"
if [ ! -d "$OUT_BINARY_PATH" ]; then
echo "ERROR: Native Release build output path does not exist"
exit 1