mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-06 05:24:46 +01:00
toward being able to do release builds of CrossDbg
This commit is contained in:
parent
777b1a7aab
commit
03efa3a7e6
4 changed files with 16 additions and 7 deletions
|
@ -54,7 +54,7 @@
|
|||
<application android:icon="@drawable/icon48x48"
|
||||
android:label="@string/app_name"
|
||||
android:name=".XWApp"
|
||||
android:debuggable="true"
|
||||
android:debuggable="false"
|
||||
>
|
||||
|
||||
<activity android:name="Main"
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
/>
|
||||
|
||||
|
||||
<!-- extension targets. Uncomment the ones where you want to do custom work
|
||||
in between standard targets -->
|
||||
<!-- extension targets. Uncomment the ones where you want to do custom work
|
||||
in between standard targets -->
|
||||
|
||||
<property name="INITIAL_CLIENT_VERS" value="8"/>
|
||||
<property name="VARIANT_NAME" value="xw4dbg"/>
|
||||
|
@ -66,7 +66,7 @@
|
|||
<target name="-pre-build" depends="my-copy-src">
|
||||
<antcall target="my-pre-build">
|
||||
<param name="VARIANT_NAME" value="${VARIANT_NAME}"/>
|
||||
<param name="APP_NAME" value="cWords-DBG"/>
|
||||
<param name="APP_NAME" value="${APP_NAME}"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
|
|
|
@ -63,12 +63,17 @@
|
|||
<antcall target="my-pre-clean" />
|
||||
</target>
|
||||
|
||||
<target name="-pre-build">
|
||||
<antcall target="my-pre-build" />
|
||||
<target name="-pre-build" depends="my-copy-src">
|
||||
<antcall target="my-pre-build">
|
||||
<param name="VARIANT_NAME" value="${VARIANT_NAME}"/>
|
||||
<param name="APP_NAME" value="${APP_NAME}"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
<target name="-pre-compile">
|
||||
<antcall target="my-pre-compile" />
|
||||
<antcall target="my-pre-compile">
|
||||
<param name="VARIANT_NAME" value="${VARIANT_NAME}"/>
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
|
|
|
@ -23,6 +23,10 @@ do_build() {
|
|||
cd $WD
|
||||
}
|
||||
|
||||
if [ -f ./AndroidManifest.xml ]; then # we're in the right directory
|
||||
VARIANT=$(basename $(pwd))
|
||||
fi
|
||||
|
||||
while [ "$#" -gt 0 ]; do
|
||||
case $1 in
|
||||
--tag)
|
||||
|
|
Loading…
Reference in a new issue