Stop renaming MediastreamerActivity.java before and after build since it is broken by design and unneeded now

This commit is contained in:
Gautier Pelloux-Prayer 2015-02-12 10:29:08 +01:00
parent 2b6939e6fc
commit 3b9f6266aa

View file

@ -3,20 +3,11 @@
<property name="linphone.package.name" value="org.linphone" /> <property name="linphone.package.name" value="org.linphone" />
<target name="-pre-build" description="Move file that is not to be compiled."> <target name="-pre-build" description="Move file that is not to be compiled.">
<move file="submodules/linphone/mediastreamer2/java/src/org/linphone/mediastream/MediastreamerActivity.java"
tofile="submodules/linphone/mediastreamer2/java/src/org/linphone/mediastream/MediastreamerActivity.java.ignored"
failonerror="false" />
<copy file="submodules/linphone/share/xml/lpconfig.xsd" <copy file="submodules/linphone/share/xml/lpconfig.xsd"
tofile="res/raw/lpconfig.xsd" tofile="res/raw/lpconfig.xsd"
failonerror="false" /> failonerror="false" />
</target> </target>
<target name="-post-build" description="Restore file that has been moved so that it was not compiled.">
<move file="submodules/linphone/mediastreamer2/java/src/org/linphone/mediastream/MediastreamerActivity.java.ignored"
tofile="submodules/linphone/mediastreamer2/java/src/org/linphone/mediastream/MediastreamerActivity.java"
failonerror="false" />
</target>
<target name="javah" depends="-set-debug-mode,-compile"> <target name="javah" depends="-set-debug-mode,-compile">
<echo level="info">Generate JNI header</echo> <echo level="info">Generate JNI header</echo>
<javah outputfile="gen/linphonecore_jni.h"> <javah outputfile="gen/linphonecore_jni.h">