summaryrefslogtreecommitdiffstats
path: root/core/proguard.flags
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-08-30 13:39:24 -0700
committerJoe Onorato <joeo@android.com>2009-08-30 13:43:00 -0700
commit2daa2b3b059ac755e8280741b23d65360ae233bc (patch)
tree815b7a47b228a15e19d9d0fddb3db4e3f321c92c /core/proguard.flags
parentc6646c9ac41122ecc022102efdcceb890a0ca529 (diff)
downloadbuild-2daa2b3b059ac755e8280741b23d65360ae233bc.zip
build-2daa2b3b059ac755e8280741b23d65360ae233bc.tar.gz
build-2daa2b3b059ac755e8280741b23d65360ae233bc.tar.bz2
Add the ability to turn on proguard for java targets, and to call aapt
to generate a rules file for proguard for stuff from the manifest and other resources that need to be kept.
Diffstat (limited to 'core/proguard.flags')
-rw-r--r--core/proguard.flags7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/proguard.flags b/core/proguard.flags
new file mode 100644
index 0000000..afd1548
--- /dev/null
+++ b/core/proguard.flags
@@ -0,0 +1,7 @@
+# see http://sourceforge.net/tracker/?func=detail&aid=2787465&group_id=54750&atid=474707
+-optimizations !code/simplification/arithmetic
+-allowaccessmodification
+
+# Some classes in the libraries extend package private classes to chare common functionality
+# that isn't explicitly part of the API
+-dontskipnonpubliclibraryclasses