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

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

Use -Werror in frameworks/native/libs/nativewindow

* Suppress unused function warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: If1583e0ae618f96033e0e5b661df333a8e34d858
parent 0c47ec9a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -34,6 +34,12 @@ cc_library {

    clang: true,

    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-unused-function",
    ],

    cppflags: [
        "-std=c++1z"
    ],
+1 −0
Original line number Diff line number Diff line
@@ -23,4 +23,5 @@ cc_test {
    srcs: [
        "AHardwareBufferTest.cpp",
        "c_compatibility.c"],
    cflags: ["-Wall", "-Werror"],
}