summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjorn Bringert <bringert@android.com>2013-03-18 21:17:26 +0000
committerBjorn Bringert <bringert@android.com>2013-04-26 15:07:09 +0100
commitfb903a45d7b924c1dfacadaa99ebdf93fd8a1de4 (patch)
tree6db6caa0c8d1cb6ac02175c5e2721fc8e5e605dd /include
parent007d4d7040c9b41de584e79ba7dbd15d25f54971 (diff)
downloadframeworks_base-fb903a45d7b924c1dfacadaa99ebdf93fd8a1de4.zip
frameworks_base-fb903a45d7b924c1dfacadaa99ebdf93fd8a1de4.tar.gz
frameworks_base-fb903a45d7b924c1dfacadaa99ebdf93fd8a1de4.tar.bz2
Allow compiling aapt for the device
Changes: - The static device version of libandroidfw now includes the extra functions needed by aapt. I could only find a few host tools that use the static library, so this is hopefully not a problem. - The pseudolocalization code is moved into aapt. It was previously in libhost, but only used by aapt. Change-Id: Ib393ebb7dcebee8abbb628cbe5255ea1679674ac
Diffstat (limited to 'include')
-rw-r--r--include/androidfw/ResourceTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/androidfw/ResourceTypes.h b/include/androidfw/ResourceTypes.h
index 5b45d70..ccccc2e 100644
--- a/include/androidfw/ResourceTypes.h
+++ b/include/androidfw/ResourceTypes.h
@@ -1553,7 +1553,7 @@ public:
static bool getIdmapInfo(const void* idmap, size_t size,
uint32_t* pOriginalCrc, uint32_t* pOverlayCrc);
-#ifndef HAVE_ANDROID_OS
+#ifdef STATIC_ANDROIDFW_FOR_TOOLS
void print(bool inclValues) const;
static String8 normalizeForOutput(const char* input);
#endif