summaryrefslogtreecommitdiffstats
path: root/drm/common
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-02 13:59:12 -0700
committerChih-hung Hsieh <chh@google.com>2017-10-20 19:19:00 +0000
commit5cf0751390afa26b8fefacbf43541d7d4cffc1a5 (patch)
treeb23cb5a877f17f7378e6f98ee906e0f55091b52c /drm/common
parent16f2c1559c5722a6cd69fef3c17dc5756ba73fe6 (diff)
downloadframeworks_av-5cf0751390afa26b8fefacbf43541d7d4cffc1a5.tar.gz
frameworks_av-5cf0751390afa26b8fefacbf43541d7d4cffc1a5.tar.bz2
frameworks_av-5cf0751390afa26b8fefacbf43541d7d4cffc1a5.zip
Use -Werror in frameworks/av
* Suppress unused-variable warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Exempt-From-Owner-Approval: already had multiple +2 votes Change-Id: I985f9328684df501b5934a5c01f783ed7ca5aa0c
Diffstat (limited to 'drm/common')
-rw-r--r--drm/common/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/drm/common/Android.bp b/drm/common/Android.bp
index 0098c89630..1552c3f340 100644
--- a/drm/common/Android.bp
+++ b/drm/common/Android.bp
@@ -33,6 +33,8 @@ cc_library_static {
"ReadWriteUtils.cpp",
],
+ cflags: ["-Wall", "-Werror"],
+
static_libs: ["libbinder"],
export_include_dirs: ["include"],