aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-11-16 23:08:20 -0800
committerDan Willemsen <dwillemsen@google.com>2018-11-16 23:09:43 -0800
commit7d295310673278d6c413be25500fbdeb715396f4 (patch)
tree14adcff6fdb38e72cb9c86b4531e2f72edd7f77d /Android.bp
parent37c41ce97d1b9c349a16fc0b7723108b56deaf89 (diff)
downloadlibutf-7d295310673278d6c413be25500fbdeb715396f4.tar.gz
See build/soong/README.md for more information. Test: cd external/libutf; mma Change-Id: Ife41c623da0629e83a5924cd978d28e67db6138d
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp40
1 files changed, 40 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..ccf4cee
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,40 @@
+// We only build the static library at the moment.
+cc_library_static {
+ name: "libutf",
+ srcs: [
+ "rune.c",
+ "runestrcat.c",
+ "runestrchr.c",
+ "runestrcmp.c",
+ "runestrcpy.c",
+ "runestrdup.c",
+ "runestrlen.c",
+ "runestrecpy.c",
+ "runestrncat.c",
+ "runestrncmp.c",
+ "runestrncpy.c",
+ "runestrrchr.c",
+ "runestrstr.c",
+ "runetype.c",
+ "utfecpy.c",
+ "utflen.c",
+ "utfnlen.c",
+ "utfrrune.c",
+ "utfrune.c",
+ "utfutf.c",
+ ],
+ cflags: [
+ "-O3",
+ "-Wall",
+ "-Wno-missing-braces",
+ "-Wno-parentheses",
+ "-Wno-switch",
+ ],
+ export_include_dirs: ["."],
+ arch: {
+ arm: {
+ instruction_set: "arm",
+ },
+ },
+ sdk_version: "14",
+}