Skip to content

Commit

Permalink
[mk] Install default plugins to prebuilt android player
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy29 committed Feb 27, 2017
1 parent 3d66582 commit 930df35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/GidAndroid.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ android.install: android androidlibs.install androidso.install androidplugins.in
cp $(ROOT)/android/GiderosAndroidPlayer/gideros.jar $(RELEASE)/Templates/AndroidStudio/Android\ Template/app/libs
rm -rf $(ROOT)/android/GiderosAndroidPlayer/libs
cp -R $(RELEASE)/Templates/Eclipse/Android\ Template/libs $(ROOT)/android/GiderosAndroidPlayer
for p in $(PLUGINS_DEFAULT); do \
cd $(ROOT)/plugins/$$p/source; if [ -d "Android" ]; then cd Android; fi; \
cp -R libs $(CURDIR)/android/GiderosAndroidPlayer; \
cd $(CURDIR); done
cd $(ROOT)/android/GiderosAndroidPlayer; $(ANT) debug;
mkdir -p $(RELEASE)/Players
mv $(ROOT)/android/GiderosAndroidPlayer/bin/GiderosAndroidPlayer-debug.apk $(RELEASE)/Players/GiderosAndroidPlayer.apk
Expand Down Expand Up @@ -71,7 +75,7 @@ androidlibs.install: androidlibs

%.androidplugin.install: %.plugin.install
@mkdir -p $(RELEASE)/All\ Plugins/$(notdir $*)/bin/Android
@cd $(ROOT)/plugins/$*/source; echo -n "Installing $*"; \
@cd $(ROOT)/plugins/$*/source; echo "Installing $*"; \
if [ -d "Android" ]; then cd Android; fi; \
cp -r libs $(CURDIR)/$(RELEASE)/All\ Plugins/$(notdir $*)/bin/Android/; \
if [ -d "res" ]; then \
Expand Down

0 comments on commit 930df35

Please sign in to comment.