diff options
author | Josiah Gaskin <josiahgaskin@google.com> | 2011-06-27 16:26:02 -0700 |
---|---|---|
committer | Josiah Gaskin <josiahgaskin@google.com> | 2011-07-18 16:37:55 -0700 |
commit | 03589cc65355220e0a4a0c816189a9fa25cc81fc (patch) | |
tree | ebe98e64c530708e8709025e8ad051c714eab9a3 /tools/aapt/Main.h | |
parent | 9bf34ca6f85309c65b0ebdf614cb8266401b49ba (diff) | |
download | frameworks_base-03589cc65355220e0a4a0c816189a9fa25cc81fc.zip frameworks_base-03589cc65355220e0a4a0c816189a9fa25cc81fc.tar.gz frameworks_base-03589cc65355220e0a4a0c816189a9fa25cc81fc.tar.bz2 |
Add generation of dependency file for .ap_ package
Make Aapt generate a dependency file in the same directory as the
output ap_ file if the --generate-dependencies flag is set.
This dependency file can then be read by the ant exec loop task
to see whether to repackage resources.
Change-Id: I763679414daf76369700aa599c26dcf78d4de099
Diffstat (limited to 'tools/aapt/Main.h')
-rw-r--r-- | tools/aapt/Main.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/aapt/Main.h b/tools/aapt/Main.h index 1df1144..9674c5d 100644 --- a/tools/aapt/Main.h +++ b/tools/aapt/Main.h @@ -46,5 +46,6 @@ int dumpResources(Bundle* bundle); String8 getAttribute(const ResXMLTree& tree, const char* ns, const char* attr, String8* outError); -status_t writeDependencyPreReqs(Bundle* bundle, const sp<AaptAssets>& assets, FILE* fp); +status_t writeDependencyPreReqs(Bundle* bundle, const sp<AaptAssets>& assets, + FILE* fp, bool includeRaw); #endif // __MAIN_H |