aboutsummaryrefslogtreecommitdiffstats
path: root/testapps/libsAndJarTest/lib2
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/libsAndJarTest/lib2
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/libsAndJarTest/lib2')
-rw-r--r--testapps/libsAndJarTest/lib2/project.properties2
-rw-r--r--testapps/libsAndJarTest/lib2/res/values/strings.xml5
2 files changed, 6 insertions, 1 deletions
diff --git a/testapps/libsAndJarTest/lib2/project.properties b/testapps/libsAndJarTest/lib2/project.properties
index 36f1594..9be8830 100644
--- a/testapps/libsAndJarTest/lib2/project.properties
+++ b/testapps/libsAndJarTest/lib2/project.properties
@@ -13,3 +13,5 @@
# Project target.
target=android-15
android.library=true
+verbose=true
+
diff --git a/testapps/libsAndJarTest/lib2/res/values/strings.xml b/testapps/libsAndJarTest/lib2/res/values/strings.xml
index 549e4ea..e1e7a9d 100644
--- a/testapps/libsAndJarTest/lib2/res/values/strings.xml
+++ b/testapps/libsAndJarTest/lib2/res/values/strings.xml
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
+
<string name="app_name">Main</string>
-</resources>
+ <string name="foo2">foo</string>
+
+</resources> \ No newline at end of file