From fb903a45d7b924c1dfacadaa99ebdf93fd8a1de4 Mon Sep 17 00:00:00 2001 From: Bjorn Bringert Date: Mon, 18 Mar 2013 21:17:26 +0000 Subject: 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 --- include/androidfw/ResourceTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/androidfw/ResourceTypes.h b/include/androidfw/ResourceTypes.h index 5b45d708726c..ccccc2e68671 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 -- cgit v1.2.3-59-g8ed1b