summaryrefslogtreecommitdiffstats
path: root/tools/aapt/Main.h
diff options
context:
space:
mode:
authorJosiah Gaskin <josiahgaskin@google.com>2011-06-14 13:57:09 -0700
committerJosiah Gaskin <josiahgaskin@google.com>2011-06-27 16:44:57 -0700
commit9bf34ca6f85309c65b0ebdf614cb8266401b49ba (patch)
tree50708801cb3c58aa23a32bc1a1ad39315e3aeff5 /tools/aapt/Main.h
parentce89f1531ed8b96b8b790b3f8b18dd4cf483f7f0 (diff)
downloadframeworks_base-9bf34ca6f85309c65b0ebdf614cb8266401b49ba.zip
frameworks_base-9bf34ca6f85309c65b0ebdf614cb8266401b49ba.tar.gz
frameworks_base-9bf34ca6f85309c65b0ebdf614cb8266401b49ba.tar.bz2
Add dependency generation to Aapt for R.java
Make Aapt generate a dependency file in the location specified by RClassDir for R.java if the --generate-dependencies flag is set. This dependency file is then read by the ant exec loop task to see whether to recreate R.java. Change-Id: I7152dac86b6ea0e448ef65e3a95694afe233c789
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 3ba4f39..1df1144 100644
--- a/tools/aapt/Main.h
+++ b/tools/aapt/Main.h
@@ -46,4 +46,5 @@ 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);
#endif // __MAIN_H