Browse files

Merge pull request #1762 from koying/droidremoveapkgit

FIX: [droid] Remove .git dirs from apk
  • Loading branch information...
2 parents 243d5b9 + 48993e7 commit 3d20e6de2ac9d8b436bb492198ac78b3a16ca9af @davilla davilla committed Nov 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 tools/android/packaging/Makefile
View
1 tools/android/packaging/Makefile
@@ -67,6 +67,7 @@ libs: $(PREFIX)/lib/xbmc/libxbmc.so
mkdir -p xbmc/lib/$(PLATFORM) images xbmc/assets/python2.6/lib/ xbmc/libs/$(PLATFORM) xbmc/obj/local/$(PLATFORM)
cp -fp $(SRCLIBS) xbmc/obj/local/$(PLATFORM)/
cp -fp $(PREFIX)/lib/xbmc/libxbmc.so xbmc/obj/local/$(PLATFORM)/
+ find `pwd`/xbmc/assets/ -depth -name ".git" -exec rm -rf {} \;
find $(PREFIX)/lib/xbmc/addons -name "*.so" -exec cp -fp {} xbmc/obj/local/$(PLATFORM)/ \;
find $(PREFIX)/lib/xbmc/system -name "*.so" -exec cp -fp {} xbmc/obj/local/$(PLATFORM)/ \;
cd xbmc/obj/local/$(PLATFORM)/; find . -name "*.so" -not -name "lib*.so" | sed "s/\.\///" | xargs -I@ mv @ lib@

0 comments on commit 3d20e6d

Please sign in to comment.