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

Commit 95fc22e1 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Use -Werror in frameworks/native/libs/sensor" am: 854116f6

am: 3c3591b6

Change-Id: If97579d2b6e2ca87cb45a8f7782cb872ccc63753
parents 1f9a85e4 3c3591b6
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",
    ],
    ],