summaryrefslogtreecommitdiff
path: root/tools/aapt/Command.cpp
diff options
context:
space:
mode:
author Adam Lesinski <adamlesinski@google.com> 2016-04-28 20:06:19 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-04-28 20:06:19 +0000
commitda66fa7526aaa034c27f77455f55e58f769624fa (patch)
treeb025793455d7922c79157f58db948125982a0e35 /tools/aapt/Command.cpp
parent6e35557ad34a9722c27a70b30930104c2f36f78b (diff)
parent6ba873faec0d165b74acfecf1533f58433d431e9 (diff)
Merge "AAPT: ProGuard config for components in main dex."
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