Merge "Use -Werror in system/core/healthd"

This commit is contained in:
Chih-hung Hsieh 2017-12-04 21:40:40 +00:00 committed by Android (Google) Code Review
commit 7ccb51b64f
1 changed files with 16 additions and 2 deletions

View File

@ -9,6 +9,7 @@ cc_library_headers {
cc_library_static {
name: "libbatterymonitor",
srcs: ["BatteryMonitor.cpp"],
cflags: ["-Wall", "-Werror"],
vendor_available: true,
export_include_dirs: ["include"],
shared_libs: [
@ -27,6 +28,11 @@ cc_library_static {
"healthd_common.cpp",
],
cflags: [
"-Wall",
"-Werror",
],
export_include_dirs: ["include"],
shared_libs: [
@ -56,7 +62,11 @@ cc_binary {
"HealthServiceDefault.cpp",
],
cflags: ["-DHEALTH_INSTANCE_NAME=\"default\""],
cflags: [
"-DHEALTH_INSTANCE_NAME=\"default\"",
"-Wall",
"-Werror",
],
static_libs: [
"android.hardware.health@2.0-impl",
@ -84,7 +94,11 @@ cc_binary {
],
local_include_dirs: ["include"],
cflags: ["-DHEALTH_INSTANCE_NAME=\"backup\""],
cflags: [
"-DHEALTH_INSTANCE_NAME=\"backup\"",
"-Wall",
"-Werror",
],
static_libs: [
"android.hardware.health@2.0-impl",