summaryrefslogtreecommitdiff
path: root/tools/aapt/ResourceTable.h
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-03-09 15:00:30 -0800
committer Dianne Hackborn <hackbod@google.com> 2010-03-09 17:18:05 -0800
commitcf244ada58539ce857ec041d7288d0271204fbb6 (patch)
treeec16084d19a3b0c0e43e11dd276fbe7c6a6813c5 /tools/aapt/ResourceTable.h
parentae58f6d7473c67d76b6c6373794fd1a77543ddb4 (diff)
Add ability for some manifest attributes to reference resources.
This loosens our restriction on many manifest attributes requiring literal string values, to allow various ones to use values from resources. This is only allowed if the resource value does not change from configuration changes, and the restriction is still in place for attributes that are core to security (requesting permissions) or market operation (used libraries and features etc). Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
Diffstat (limited to 'tools/aapt/ResourceTable.h')
-rw-r--r--tools/aapt/ResourceTable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/aapt/ResourceTable.h b/tools/aapt/ResourceTable.h
index 60d09012beda..186c7ca8fdd8 100644
--- a/tools/aapt/ResourceTable.h
+++ b/tools/aapt/ResourceTable.h
@@ -37,6 +37,12 @@ status_t compileXmlFile(const sp<AaptAssets>& assets,
int options = XML_COMPILE_STANDARD_RESOURCE);
status_t compileXmlFile(const sp<AaptAssets>& assets,
+ const sp<AaptFile>& target,
+ const sp<AaptFile>& outTarget,
+ ResourceTable* table,
+ int options = XML_COMPILE_STANDARD_RESOURCE);
+
+status_t compileXmlFile(const sp<AaptAssets>& assets,
const sp<XMLNode>& xmlTree,
const sp<AaptFile>& target,
ResourceTable* table,