From 58519b99843d9bc67deba2e3b53cbca3e201d097 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Fri, 27 Oct 2017 09:18:38 -0700 Subject: Use -Werror in external/lmfit Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I081939a4a6512c43683e7b4e88307ebf6ea2721e --- Android.bp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 2bc9a21..099216e 100644 --- a/Android.bp +++ b/Android.bp @@ -21,6 +21,11 @@ cc_library_static { "lib/lmcurve_tyd.c", "lib/lmmin.c", ], - cflags: ["-W", "-Wall", "-Wno-unused-parameter"], + cflags: [ + "-W", + "-Wall", + "-Werror", + "-Wno-unused-parameter", + ], export_include_dirs: ["lib"], } -- cgit v1.2.3