summaryrefslogtreecommitdiffstats
path: root/tools/aapt/AaptAssets.h
diff options
context:
space:
mode:
authorJosiah Gaskin <josiahgaskin@google.com>2011-06-27 16:26:02 -0700
committerJosiah Gaskin <josiahgaskin@google.com>2011-07-18 16:37:55 -0700
commit03589cc65355220e0a4a0c816189a9fa25cc81fc (patch)
treeebe98e64c530708e8709025e8ad051c714eab9a3 /tools/aapt/AaptAssets.h
parent9bf34ca6f85309c65b0ebdf614cb8266401b49ba (diff)
downloadframeworks_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/AaptAssets.h')
-rw-r--r--tools/aapt/AaptAssets.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt/AaptAssets.h b/tools/aapt/AaptAssets.h
index cdde5ad..9fafab4 100644
--- a/tools/aapt/AaptAssets.h
+++ b/tools/aapt/AaptAssets.h
@@ -550,6 +550,10 @@ public:
inline void
setFullResPaths(sp<FilePathStore>& res) { mFullResPaths = res; }
+ inline sp<FilePathStore>& getFullAssetPaths() { return mFullAssetPaths; }
+ inline void
+ setFullAssetPaths(sp<FilePathStore>& res) { mFullAssetPaths = res; }
+
private:
String8 mPackage;
SortedVector<AaptGroupEntry> mGroupEntries;
@@ -565,6 +569,7 @@ private:
KeyedVector<String8, sp<ResourceTypeSet> >* mRes;
sp<FilePathStore> mFullResPaths;
+ sp<FilePathStore> mFullAssetPaths;
};
#endif // __AAPT_ASSETS_H