mirror of https://github.com/axmolengine/axmol.git
[travis-ci] Speed up android build.
This commit is contained in:
parent
7cccf1db03
commit
0d7b7819c2
|
@ -16,6 +16,7 @@ fi
|
||||||
build_android()
|
build_android()
|
||||||
{
|
{
|
||||||
cd $COCOS2DX_ROOT/samples/$1/$2/proj.android
|
cd $COCOS2DX_ROOT/samples/$1/$2/proj.android
|
||||||
|
ln -s ../../../../android_build_objs obj
|
||||||
./build_native.sh
|
./build_native.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,6 +24,8 @@ if [ "$PLATFORM"x = "android"x ]; then
|
||||||
cd $COCOS2DX_ROOT/tools/travis-scripts
|
cd $COCOS2DX_ROOT/tools/travis-scripts
|
||||||
./generate-jsbindings.sh
|
./generate-jsbindings.sh
|
||||||
|
|
||||||
|
cd $COCOS2DX_ROOT
|
||||||
|
mkdir android_build_objs
|
||||||
build_android Cpp HelloCpp
|
build_android Cpp HelloCpp
|
||||||
build_android Cpp TestCpp
|
build_android Cpp TestCpp
|
||||||
build_android Cpp AssetsManagerTest
|
build_android Cpp AssetsManagerTest
|
||||||
|
|
Loading…
Reference in New Issue