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/AaptAssets.cpp | |
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/AaptAssets.cpp')
-rw-r--r-- | tools/aapt/AaptAssets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/AaptAssets.cpp b/tools/aapt/AaptAssets.cpp index 9c5a514..864d47e 100644 --- a/tools/aapt/AaptAssets.cpp +++ b/tools/aapt/AaptAssets.cpp @@ -1685,7 +1685,7 @@ ssize_t AaptAssets::slurpFromArgs(Bundle* bundle) sp<AaptDir> assetAaptDir = makeDir(String8(kAssetDir)); AaptGroupEntry group; count = assetAaptDir->slurpFullTree(bundle, assetRoot, group, - String8(), mFullResPaths); + String8(), mFullAssetPaths); if (count < 0) { totalCount = count; goto bail; @@ -1759,7 +1759,7 @@ ssize_t AaptAssets::slurpFromArgs(Bundle* bundle) * guarantees about ordering, so we're okay with an inorder search * using whatever order the OS happens to hand back to us. */ - count = slurpFullTree(bundle, assetRoot, AaptGroupEntry(), String8(), mFullResPaths); + count = slurpFullTree(bundle, assetRoot, AaptGroupEntry(), String8(), mFullAssetPaths); if (count < 0) { /* failure; report error and remove archive */ totalCount = count; |