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

Commit b7b8b3df authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Use -Werror in frameworks/native/libs/sensor

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ie48b1a09ef38598038a251296b9caa87bc74cbb3
parent 0c47ec9a
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -16,9 +16,12 @@ cc_library_shared {
    name: "libsensor",
    name: "libsensor",


    clang: true,
    clang: true,
    cflags: [
        "-Wall",
        "-Werror",
    ],
    cppflags: [
    cppflags: [
        "-Weverything",
        "-Weverything",
        "-Werror",


        // The static constructors and destructors in this library have not been noted to
        // The static constructors and destructors in this library have not been noted to
        // introduce significant overheads
        // introduce significant overheads
+2 −0
Original line number Original line Diff line number Diff line
@@ -17,6 +17,8 @@ cc_test {


    clang: true,
    clang: true,


    cflags: ["-Wall", "-Werror"],

    srcs: [
    srcs: [
        "Sensor_test.cpp",
        "Sensor_test.cpp",
    ],
    ],