aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-10 08:11:51 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-10 08:11:51 +0000
commit419ef7d383f939bd538fef859850aa8623a53407 (patch)
treea0c6fe3cc2406df9bcd04d81a595b570e369645f
parent9e97e3601d82b2628cc50f41dc1d663c05579291 (diff)
parentdb96f7cadd60d24ad028d50d82d7fd9ef1aa12ac (diff)
downloadlz4-419ef7d383f939bd538fef859850aa8623a53407.tar.gz
Snap for 4386413 from db96f7cadd60d24ad028d50d82d7fd9ef1aa12ac to pi-releaseandroid-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-security-9.0.0_r76android-security-9.0.0_r75android-security-9.0.0_r74android-security-9.0.0_r73android-security-9.0.0_r72android-security-9.0.0_r71android-security-9.0.0_r70android-security-9.0.0_r69android-security-9.0.0_r68android-security-9.0.0_r67android-security-9.0.0_r66android-security-9.0.0_r65android-security-9.0.0_r64android-security-9.0.0_r63android-security-9.0.0_r62android-p-preview-5android-p-preview-4android-p-preview-1android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-platform-releasepie-gsipie-cuttlefish-testingpie-cts-releasepie-arcp-preview-1
Change-Id: I6f7200c0f5cc0609a65b954540b24dd64f37b972
-rw-r--r--lib/Android.bp1
-rw-r--r--programs/Android.bp7
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/Android.bp b/lib/Android.bp
index 6f8aa727..6426af1a 100644
--- a/lib/Android.bp
+++ b/lib/Android.bp
@@ -13,5 +13,6 @@ cc_library {
"lz4frame.c",
"xxhash.c",
],
+ cflags: ["-Wall", "-Werror"],
export_include_dirs: ["."],
}
diff --git a/programs/Android.bp b/programs/Android.bp
index 9d74c1e0..9a6657b5 100644
--- a/programs/Android.bp
+++ b/programs/Android.bp
@@ -8,13 +8,18 @@ cc_binary_host {
"lz4io.c",
"lz4cli.c",
],
+ cflags: ["-Wall", "-Werror"],
static_libs: ["liblz4"],
stl: "libc++_static",
}
cc_binary_host {
name: "lz4c",
- cflags: ["-DENABLE_LZ4C_LEGACY_OPTIONS"],
+ cflags: [
+ "-DENABLE_LZ4C_LEGACY_OPTIONS",
+ "-Wall",
+ "-Werror",
+ ],
srcs: [
"datagen.c",
"bench.c",