Remove binaries embedded within Linphone repository

This commit is contained in:
Gautier Pelloux-Prayer 2014-12-15 19:49:34 +01:00
parent adc3d53349
commit ed29b555d2

View file

@ -72,9 +72,26 @@ Build:2.2.1.1,2211
buildjni=no
Build:2.3.2-fdroid,2302
commit=ceb74e2
commit=2fc5048
submodules=yes
prebuild=rm -rf submodules/mssilk/ios_bin tests submodules/externals/webrtc/modules/video_capture/main/source/android/java/org/webrtc/videoengine/* && \
prebuild= find submodules/externals/antlr3/runtime/ -mindepth 1 -maxdepth 1 -not -name "C" -exec rm -r {} \; && \
rm -rf gradle liblinphone_tester tests && \
rm -rf submodules/externals/antlr3/antlr-3.4-complete.jar && \
rm -rf submodules/externals/antlr3/antlr-ant && \
rm -rf submodules/externals/libupnp/ixml/doc && \
rm -rf submodules/externals/libupnp/upnp/doc && \
rm -rf submodules/externals/libxml2/result && \
rm -rf submodules/externals/libxml2/test && \
rm -rf submodules/externals/libxml2/win32 && \
rm -rf submodules/externals/openh264/res && \
rm -rf submodules/externals/polarssl/programs && \
rm -rf submodules/externals/polarssl/tests && \
rm -rf submodules/externals/webrtc/modules/video_capture/main/source/android/java/org/webrtc/videoengine/* && \
rm -rf submodules/externals/webrtc/voice_engine/test && \
rm -rf submodules/linphone/pixmaps && \
rm -rf submodules/linphone/share && \
rm -rf submodules/linphone/tester && \
rm -rf submodules/mssilk/ios_bin && \
rm libs/gcm.jar src/org/linphone/gcm/GCMService.java src/org/linphone/gcm/GCMReceiver.java && \
sed -i -e 's/<application/<application android:debuggable="false"/' AndroidManifest.xml && \
sed -i -e 's/android:versionCode/android:versionName="2.3.2-fdroid" android:versionCode/' AndroidManifest.xml