summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-16 08:11:26 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-16 08:11:26 +0000
commit5d76e8463c9b73814be371867b80327f4563e947 (patch)
tree37657b8b97f32c2953929c4255f518fa05a83603
parent2da3f5a92f74f8cc017f80e45331076b53eb4f72 (diff)
parent5f9743d354639ff4ceadaa20d296ae9368d5453a (diff)
downloadandroid_external_libavc-5d76e8463c9b73814be371867b80327f4563e947.tar.gz
android_external_libavc-5d76e8463c9b73814be371867b80327f4563e947.tar.bz2
android_external_libavc-5d76e8463c9b73814be371867b80327f4563e947.zip
Snap for 4396682 from 5f9743d354639ff4ceadaa20d296ae9368d5453a to pi-release
Change-Id: I2ce90d17d941839d857c393dbfd4a4bf890f6f2c
-rw-r--r--Android.bp6
-rw-r--r--test/Android.bp5
2 files changed, 11 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 9b1d0b6..957e253 100644
--- a/Android.bp
+++ b/Android.bp
@@ -6,6 +6,9 @@ cc_library_static {
cflags: [
"-fPIC",
"-O3",
+ "-Wall",
+ "-Werror",
+ "-Wno-unused-variable",
],
export_include_dirs: [
@@ -242,6 +245,9 @@ cc_library_static {
"-fPIC",
"-O3",
+ "-Wall",
+ "-Werror",
+ "-Wno-error=constant-conversion",
],
export_include_dirs: [
diff --git a/test/Android.bp b/test/Android.bp
index 5fef68b..9e34a51 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -7,6 +7,8 @@ cc_test {
"-DARM",
"-DMD5_DISABLE",
"-fPIC",
+ "-Wall",
+ "-Werror",
],
local_include_dirs: [
"decoder/",
@@ -26,6 +28,9 @@ cc_test {
"-DMD5_DISABLE",
"-fPIC",
"-pie",
+ "-Wall",
+ "-Werror",
+ "-Wno-unused-variable",
],
local_include_dirs: [
"encoder/",