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:
srowen 2008-04-16 00:27:36 +00:00
parent 5c496574a3
commit d2a240220c
2 changed files with 4 additions and 24 deletions

View file

@ -167,22 +167,12 @@
<!-- Convert this project's .class files into .dex files. -->
<target name="dex" depends="compile, optimize">
<condition property="locals" value="full">
<condition property="locals" value="full" else="none">
<isset property="debug"/>
</condition>
<condition property="locals" value="none">
<not>
<isset property="debug"/>
</not>
</condition>
<condition property="positions" value="lines">
<condition property="positions" value="lines" else="none">
<isset property="debug"/>
</condition>
<condition property="positions" value="none">
<not>
<isset property="debug"/>
</not>
</condition>
<exec executable="${dx}" failonerror="true">
<arg value="-JXmx384M"/>

View file

@ -165,22 +165,12 @@
<!-- Convert this project's .class files into .dex files. -->
<target name="dex" depends="compile, optimize">
<condition property="locals" value="full">
<condition property="locals" value="full" else="none">
<isset property="debug"/>
</condition>
<condition property="locals" value="none">
<not>
<isset property="debug"/>
</not>
</condition>
<condition property="positions" value="lines">
<condition property="positions" value="lines" else="none">
<isset property="debug"/>
</condition>
<condition property="positions" value="none">
<not>
<isset property="debug"/>
</not>
</condition>
<exec executable="${dx}" failonerror="true">
<arg value="-JXmx384M"/>