summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 00:19:06 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-11 00:19:06 +0000
commit56d135ba754cb45db43d56f8b6288df5c10e087d (patch)
tree62a17804a0e0e5825178924d13aad5e69f5323bd
parent4b19ef0d1e200147824006c2db508d0fe344092e (diff)
parentc8a176f72c180745aae9de0febccffe6252f3374 (diff)
downloadjavasqlite-56d135ba754cb45db43d56f8b6288df5c10e087d.tar.gz
Merge "Use -Werror in external/javasqlite" am: 097da4c057 am: 19c2f855c2 am: 82eb258571
am: c8a176f72c Change-Id: Id7d9a6e99c3c502224fc09e7316cfb78484b013b
-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"],