From 0d7b7819c28764411d68fc212c94291b097a2f79 Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 11 Jun 2013 11:31:24 +0800 Subject: [PATCH] [travis-ci] Speed up android build. --- tools/travis-scripts/run-script.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/travis-scripts/run-script.sh b/tools/travis-scripts/run-script.sh index 1854b27fb5..5294b8b278 100755 --- a/tools/travis-scripts/run-script.sh +++ b/tools/travis-scripts/run-script.sh @@ -16,6 +16,7 @@ fi build_android() { cd $COCOS2DX_ROOT/samples/$1/$2/proj.android + ln -s ../../../../android_build_objs obj ./build_native.sh } @@ -23,6 +24,8 @@ if [ "$PLATFORM"x = "android"x ]; then cd $COCOS2DX_ROOT/tools/travis-scripts ./generate-jsbindings.sh + cd $COCOS2DX_ROOT + mkdir android_build_objs build_android Cpp HelloCpp build_android Cpp TestCpp build_android Cpp AssetsManagerTest