mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Small simplification of build file condition properties using else attribute
git-svn-id: https://zxing.googlecode.com/svn/trunk@362 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
5c496574a3
commit
d2a240220c
|
@ -167,22 +167,12 @@
|
||||||
<!-- Convert this project's .class files into .dex files. -->
|
<!-- Convert this project's .class files into .dex files. -->
|
||||||
<target name="dex" depends="compile, optimize">
|
<target name="dex" depends="compile, optimize">
|
||||||
|
|
||||||
<condition property="locals" value="full">
|
<condition property="locals" value="full" else="none">
|
||||||
<isset property="debug"/>
|
<isset property="debug"/>
|
||||||
</condition>
|
</condition>
|
||||||
<condition property="locals" value="none">
|
<condition property="positions" value="lines" else="none">
|
||||||
<not>
|
|
||||||
<isset property="debug"/>
|
|
||||||
</not>
|
|
||||||
</condition>
|
|
||||||
<condition property="positions" value="lines">
|
|
||||||
<isset property="debug"/>
|
<isset property="debug"/>
|
||||||
</condition>
|
</condition>
|
||||||
<condition property="positions" value="none">
|
|
||||||
<not>
|
|
||||||
<isset property="debug"/>
|
|
||||||
</not>
|
|
||||||
</condition>
|
|
||||||
|
|
||||||
<exec executable="${dx}" failonerror="true">
|
<exec executable="${dx}" failonerror="true">
|
||||||
<arg value="-JXmx384M"/>
|
<arg value="-JXmx384M"/>
|
||||||
|
|
|
@ -165,22 +165,12 @@
|
||||||
<!-- Convert this project's .class files into .dex files. -->
|
<!-- Convert this project's .class files into .dex files. -->
|
||||||
<target name="dex" depends="compile, optimize">
|
<target name="dex" depends="compile, optimize">
|
||||||
|
|
||||||
<condition property="locals" value="full">
|
<condition property="locals" value="full" else="none">
|
||||||
<isset property="debug"/>
|
<isset property="debug"/>
|
||||||
</condition>
|
</condition>
|
||||||
<condition property="locals" value="none">
|
<condition property="positions" value="lines" else="none">
|
||||||
<not>
|
|
||||||
<isset property="debug"/>
|
|
||||||
</not>
|
|
||||||
</condition>
|
|
||||||
<condition property="positions" value="lines">
|
|
||||||
<isset property="debug"/>
|
<isset property="debug"/>
|
||||||
</condition>
|
</condition>
|
||||||
<condition property="positions" value="none">
|
|
||||||
<not>
|
|
||||||
<isset property="debug"/>
|
|
||||||
</not>
|
|
||||||
</condition>
|
|
||||||
|
|
||||||
<exec executable="${dx}" failonerror="true">
|
<exec executable="${dx}" failonerror="true">
|
||||||
<arg value="-JXmx384M"/>
|
<arg value="-JXmx384M"/>
|
||||||
|
|
Loading…
Reference in a new issue