diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-11-16 23:08:20 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2018-11-16 23:09:43 -0800 |
commit | 7d295310673278d6c413be25500fbdeb715396f4 (patch) | |
tree | 14adcff6fdb38e72cb9c86b4531e2f72edd7f77d /Android.bp | |
parent | 37c41ce97d1b9c349a16fc0b7723108b56deaf89 (diff) | |
download | libutf-7d295310673278d6c413be25500fbdeb715396f4.tar.gz |
Convert libutf to Android.bpandroid-wear-8.0.0_r2android-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7android-n-iot-release-ihome-igv1nougat-iot-release
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.bp | 40 |
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", +} |