diff options
-rw-r--r-- | Android.bp | 10 | ||||
-rw-r--r-- | test/Android.bp | 5 |
2 files changed, 13 insertions, 2 deletions
@@ -6,6 +6,9 @@ cc_library_static { cflags: [ "-fPIC", "-O3", + "-Wall", + "-Werror", + "-Wno-unused-variable", ], export_include_dirs: [ @@ -79,7 +82,7 @@ cc_library_static { "-DDEFAULT_ARCH=D_ARCH_ARM_NONEON", ], - armv7_a_neon: { + neon: { srcs: [ "decoder/arm/ih264d_function_selector_a9q.c", "common/arm/ih264_intra_pred_chroma_a9q.s", @@ -242,6 +245,9 @@ cc_library_static { "-fPIC", "-O3", + "-Wall", + "-Werror", + "-Wno-error=constant-conversion", ], export_include_dirs: [ @@ -326,7 +332,7 @@ cc_library_static { "-DDISABLE_NEON", ], - armv7_a_neon: { + neon: { srcs: [ "encoder/arm/ih264e_function_selector_a9q.c", "common/arm/ih264_resi_trans_quant_a9.s", 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/", |