Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ccb51b6 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Android (Google) Code Review
Browse files

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

parents 3e1f33f4 9635266c
Loading
Loading
Loading
Loading
+16 −2
Original line number Diff line number Diff line
@@ -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",