mirror of https://github.com/axmolengine/axmol.git
add copying of the java library
This commit is contained in:
parent
886c704742
commit
a69d8ee43e
|
@ -33,6 +33,10 @@ copy_resouces() {
|
||||||
copy_src_and_jni() {
|
copy_src_and_jni() {
|
||||||
cp -rf $HELLOWORLD_ROOT/proj.android/{jni,src} $APP_DIR/proj.android
|
cp -rf $HELLOWORLD_ROOT/proj.android/{jni,src} $APP_DIR/proj.android
|
||||||
|
|
||||||
|
# cocos2d-x java lib
|
||||||
|
mkdir -p $APP_DIR/proj.android/src/org/cocos2dx/lib/
|
||||||
|
cp -f $COCOS2DX_ROOT/cocos2dx/platform/android/java/src/org/cocos2dx/lib/*.java $APP_DIR/proj.android/src/org/cocos2dx/lib/
|
||||||
|
|
||||||
# replace Android.mk
|
# replace Android.mk
|
||||||
sh $COCOS2DX_ROOT/template/android/gamemk.sh $APP_DIR/proj.android/jni/Android.mk $USE_BOX2D $USE_CHIPMUNK $USE_LUA
|
sh $COCOS2DX_ROOT/template/android/gamemk.sh $APP_DIR/proj.android/jni/Android.mk $USE_BOX2D $USE_CHIPMUNK $USE_LUA
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue