summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/Android.bp9
1 files changed, 6 insertions, 3 deletions
diff --git a/android/Android.bp b/android/Android.bp
index b32bb47..70545a1 100644
--- a/android/Android.bp
+++ b/android/Android.bp
@@ -1,10 +1,8 @@
cc_library_static {
name: "libsqlite3_android",
vendor_available: true,
- host_supported: true,
native_bridge_supported: true,
cflags: [
- "-DSQLITE_ENABLE_ICU",
"-Wall",
"-Werror",
"-Wno-unused-function",
@@ -18,9 +16,14 @@ cc_library_static {
include_dirs: ["external/sqlite/dist"],
shared_libs: [
"liblog",
- "libandroidicu",
],
target: {
+ android: {
+ cflags: ["-DSQLITE_ENABLE_ICU"],
+ shared_libs: [
+ "libandroidicu",
+ ],
+ },
vendor: {
cflags: ["-USQLITE_ENABLE_ICU"],
exclude_shared_libs: ["libandroidicu"],