summaryrefslogtreecommitdiff
path: root/tools/aapt/Main.h
diff options
context:
space:
mode:
author Xavier Ducrohet <xav@android.com> 2012-12-21 09:54:02 -0800
committer Xavier Ducrohet <xav@android.com> 2013-01-02 10:30:25 -0800
commitb1f6ad82dd8d1702617a757a88430604b3131fac (patch)
treebecaaa8c87cba0c0bd564fdef39c93f8107a11c1 /tools/aapt/Main.h
parent2d1eb74a8e5deed8b567426ce448a9e37b11cfee (diff)
Add single crunch command to aapt.
Previously the crunch command would work on a full res folder and output a full res folder (with only the drawables). This was only used in the SDK. The incremental logic is moved to the SDK build system so we change the crunch command (or rather add a new one) to only crunch a single file. Change-Id: I635ee3e871d035b9db2fb593802d914e48241abf
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 d20c601a0c77..a6b39ac418dc 100644
--- a/tools/aapt/Main.h
+++ b/tools/aapt/Main.h
@@ -29,6 +29,7 @@ extern int doAdd(Bundle* bundle);
extern int doRemove(Bundle* bundle);
extern int doPackage(Bundle* bundle);
extern int doCrunch(Bundle* bundle);
+extern int doSingleCrunch(Bundle* bundle);
extern int calcPercent(long uncompressedLen, long compressedLen);