mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
Adjust optimization options: make sure to actually exclude more unused code, but keep what Android client needs; this means tests have to run against unoptimized version
git-svn-id: https://zxing.googlecode.com/svn/trunk@427 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
4cc490db56
commit
6f7a348f5d
|
@ -54,7 +54,9 @@
|
|||
<arg value="-libraryjars ${WTK-home}/lib/cldcapi11.jar"/>
|
||||
<arg value="-renamesourcefileattribute SourceFile"/>
|
||||
<arg value="-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod"/>
|
||||
<arg value="-keep class * { !private *; }"/>
|
||||
<arg value="-keep public class com.google.zxing.* { public protected *; }"/>
|
||||
<arg value="-keep public class com.google.zxing.client.result.* { public protected *; }"/>
|
||||
<arg value="-keep public class com.google.zxing.common.* { public protected *; }"/>
|
||||
<arg value="-optimizationpasses 7"/>
|
||||
<arg value="-overloadaggressively"/>
|
||||
<arg value="-allowaccessmodification"/>
|
||||
|
@ -63,7 +65,7 @@
|
|||
<delete file="temp.jar"/>
|
||||
</target>
|
||||
|
||||
<target name="build-test" depends="init,build-optimized">
|
||||
<target name="build-test" depends="init,build">
|
||||
<fail message="Please build 'javase' first">
|
||||
<condition>
|
||||
<not>
|
||||
|
|
Loading…
Reference in a new issue