summaryrefslogtreecommitdiff
path: root/tools/aapt/Main.h
diff options
context:
space:
mode:
author Rohit Agrawal <rohitagr@google.com> 2016-04-21 16:29:58 -0700
committer Rohit Agrawal <rohitagr@google.com> 2016-04-21 18:00:53 -0700
commit86229cb622fccde8ab8cbe85eead91a34313a708 (patch)
treee84bce78081f926623a45c5f222a79c31d207acb /tools/aapt/Main.h
parent6a86fbe69d48c18ad1414ee04941ebc7f6a4eb0b (diff)
AAPT: ProGuard config for components in main dex.
Create an analogue of "aapt -G" which outputs a proguard configuration that keeps only components which need to be in the main dex. BUG: 27383099 Change-Id: Ic18c8c563794ff27a5598a214111d1b446a005f1
Diffstat (limited to 'tools/aapt/Main.h')
-rw-r--r--tools/aapt/Main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/aapt/Main.h b/tools/aapt/Main.h
index e84c4c503cd2..a493842b8d10 100644
--- a/tools/aapt/Main.h
+++ b/tools/aapt/Main.h
@@ -54,6 +54,7 @@ extern android::status_t writeResourceSymbols(Bundle* bundle,
bool includePrivate, bool emitCallback);
extern android::status_t writeProguardFile(Bundle* bundle, const sp<AaptAssets>& assets);
+extern android::status_t writeMainDexProguardFile(Bundle* bundle, const sp<AaptAssets>& assets);
extern bool isValidResourceType(const String8& type);