summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-10 23:32:15 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-10 23:32:15 +0000
commit19c2f855c28431269da38bb2135dc29694823aa9 (patch)
tree62a17804a0e0e5825178924d13aad5e69f5323bd
parentc1d31b3f58a1337a5804fad875691d46df56cba9 (diff)
parent097da4c0577bf16d9cb0d7aec75677d81fbfcfd8 (diff)
downloadjavasqlite-19c2f855c28431269da38bb2135dc29694823aa9.tar.gz
Merge "Use -Werror in external/javasqlite"android-o-mr1-iot-preview-6o-mr1-iot-preview-6
am: 097da4c057 Change-Id: I41ec482e36df2ab05b29770294d1bb1c4e5a40b8
-rw-r--r--Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index dad4cd0..bf66d5b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -2,7 +2,11 @@ cc_library_shared {
// This name is dictated by the fact that the SQLite code calls loadLibrary("sqlite_jni").
name: "libsqlite_jni",
host_supported: true,
- cflags: ["-Wno-unused-parameter"],
+ cflags: [
+ "-Werror",
+ "-Wno-error=sign-compare",
+ "-Wno-unused-parameter",
+ ],
srcs: ["src/main/native/sqlite_jni.c"],
static_libs: ["libsqlite_static_minimal"],