summaryrefslogtreecommitdiff
path: root/tools/aapt/pseudolocalize.h
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 /tools/aapt/pseudolocalize.h
parent007d4d7040c9b41de584e79ba7dbd15d25f54971 (diff)
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 'tools/aapt/pseudolocalize.h')
-rw-r--r--tools/aapt/pseudolocalize.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/aapt/pseudolocalize.h b/tools/aapt/pseudolocalize.h
new file mode 100644
index 000000000000..94cb034ac5ea
--- /dev/null
+++ b/tools/aapt/pseudolocalize.h
@@ -0,0 +1,9 @@
+#ifndef HOST_PSEUDOLOCALIZE_H
+#define HOST_PSEUDOLOCALIZE_H
+
+#include <string>
+
+std::string pseudolocalize_string(const std::string& source);
+
+#endif // HOST_PSEUDOLOCALIZE_H
+