aboutsummaryrefslogtreecommitdiffstats
path: root/testapps/libsTest/app/proguard-project.txt
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-09-13 17:23:17 -0700
committerXavier Ducrohet <xav@android.com>2012-09-18 18:58:44 -0700
commitaea408b68a6f833327b6e0954a28f414f58133ac (patch)
tree2c35517f590aa02872165dc80b6b080b355fb25a /testapps/libsTest/app/proguard-project.txt
parentba21bdb94f3b988443c0b16b44df97969eaab60c (diff)
downloadsdk-aea408b68a6f833327b6e0954a28f414f58133ac.zip
sdk-aea408b68a6f833327b6e0954a28f414f58133ac.tar.gz
sdk-aea408b68a6f833327b6e0954a28f414f58133ac.tar.bz2
Generate smaller R classes for libraries.
Using the new --output-text-symbols from aapt the build system now generates the R class for libraries manually based on the symbols exported by the libraries and the final values computed by aapt when using all the resource folders. Because only R.java is concerned, the Manifest class is now included in the library jar file. Also added a new test apps that uses instrumentation to verify the build system. Change-Id: Ic436ea8eb070844e9db8b3b2620fbf665839d40b
Diffstat (limited to 'testapps/libsTest/app/proguard-project.txt')
-rw-r--r--testapps/libsTest/app/proguard-project.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/testapps/libsTest/app/proguard-project.txt b/testapps/libsTest/app/proguard-project.txt
new file mode 100644
index 0000000..349f80f
--- /dev/null
+++ b/testapps/libsTest/app/proguard-project.txt
@@ -0,0 +1,22 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+-adaptclassstrings \ No newline at end of file