summaryrefslogtreecommitdiff
path: root/tools/aapt/Command.cpp
diff options
context:
space:
mode:
author Rohit Agrawal <rohitagr@google.com> 2016-04-28 20:15:58 +0000
committer android-build-merger <android-build-merger@google.com> 2016-04-28 20:15:58 +0000
commit1d58c18081a2f17afc964de2f261a699e11d6f02 (patch)
tree5e84d87fdce7f1c2278c5e3a7fc9ff461d5ac09d /tools/aapt/Command.cpp
parent1599b981fae5e606713e6c9a1698a7e36ef5ae09 (diff)
parentda66fa7526aaa034c27f77455f55e58f769624fa (diff)
Merge "AAPT: ProGuard config for components in main dex."
am: da66fa7526 * commit 'da66fa7526aaa034c27f77455f55e58f769624fa': AAPT: ProGuard config for components in main dex. Change-Id: I8835ea22af8b0c731236c28bd83fded212c6a72a
Diffstat (limited to 'tools/aapt/Command.cpp')
-rw-r--r--tools/aapt/Command.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp
index 5e2e82601b47..ba4aac6f32a8 100644
--- a/tools/aapt/Command.cpp
+++ b/tools/aapt/Command.cpp
@@ -2573,6 +2573,12 @@ int doPackage(Bundle* bundle)
goto bail;
}
+ // Write out the Main Dex ProGuard file
+ err = writeMainDexProguardFile(bundle, assets);
+ if (err < 0) {
+ goto bail;
+ }
+
// Write the apk
if (outputAPKFile) {
// Gather all resources and add them to the APK Builder. The builder will then