diff options
| author | 2015-11-30 19:51:53 +0000 | |
|---|---|---|
| committer | 2015-11-30 19:51:53 +0000 | |
| commit | be107f46cf4ed7437e773fb79a2ef5c5edaa49de (patch) | |
| tree | c49fa325a060d10a773a00ae36b972ae8ebf49a0 /tools/aapt/ResourceTable.h | |
| parent | 2a0dd0e1e302a9e12769d854f5617111a0135f22 (diff) | |
| parent | 9d0f7d44d5cc5322415f52f7ce03cc37a478b350 (diff) | |
Merge "Implement AAPT Bundle format"
Diffstat (limited to 'tools/aapt/ResourceTable.h')
| -rw-r--r-- | tools/aapt/ResourceTable.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h index c4bdf09d8b19..8ef84f773f18 100644 --- a/tools/aapt/ResourceTable.h +++ b/tools/aapt/ResourceTable.h @@ -83,6 +83,7 @@ struct CompileResourceWorkItem { String16 resourceName; String8 resPath; sp<AaptFile> file; + sp<XMLNode> xmlRoot; }; class ResourceTable : public ResTable::Accessor @@ -206,6 +207,12 @@ public: const sp<AaptFile>& file, const sp<XMLNode>& root); + status_t processBundleFormat(const Bundle* bundle, + const String16& resourceName, + const sp<AaptFile>& file, + const sp<XMLNode>& parent); + + sp<AaptFile> flatten(Bundle* bundle, const sp<const ResourceFilter>& filter, const bool isBase); @@ -586,6 +593,11 @@ private: Res_value* outValue); int getPublicAttributeSdkLevel(uint32_t attrId) const; + status_t processBundleFormatImpl(const Bundle* bundle, + const String16& resourceName, + const sp<AaptFile>& file, + const sp<XMLNode>& parent, + Vector<sp<XMLNode> >* namespaces); String16 mAssetsPackage; PackageType mPackageType; |