summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-09-29 21:08:14 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-09-29 21:08:14 +0000
commit1b2d2cdf84811be123f12f360cae5e6ddd082fea (patch)
treed3aa68210e3c66e623c1594be5c58c9575779251 /android
parent304c611afdc0b1a90d88bb35355a3212d78cad6f (diff)
parent344ea259afe60d798365adf1563ddc7c62876521 (diff)
Merge "Use -Werror in external/sqlite" am: 0d42d6b303 am: 545d8fbaaf am: 2384f6bc0b
am: 344ea259af Change-Id: Ie6a11319dbbdc35637895db1e60c149e301faf9f
Diffstat (limited to 'android')
-rw-r--r--android/Android.bp8
1 files changed, 7 insertions, 1 deletions
diff --git a/android/Android.bp b/android/Android.bp
index d5a1312..9173a03 100644
--- a/android/Android.bp
+++ b/android/Android.bp
@@ -2,7 +2,13 @@ cc_library_static {
name: "libsqlite3_android",
vendor_available: true,
host_supported: true,
- cflags: ["-DSQLITE_ENABLE_ICU"],
+ cflags: [
+ "-DSQLITE_ENABLE_ICU",
+ "-Wall",
+ "-Werror",
+ "-Wno-unused-function",
+ "-Wno-unused-variable",
+ ],
srcs: [
"PhoneNumberUtils.cpp",
"OldPhoneNumberUtils.cpp",