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

Commit 854116f6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use -Werror in frameworks/native/libs/sensor"

parents c599e05b b7b8b3df
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",
    ],
    ],