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

Commit b6dabc88 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Gerrit Code Review
Browse files

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

parents fe7dedcf 687a0d19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15,4 +15,5 @@
cc_library_static {
    name: "libdiskusage",
    srcs: ["dirsize.c"],
    cflags: ["-Wall", "-Werror"],
}
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,8 @@ cc_library_shared {
        "GraphicsEnv.cpp",
    ],

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

    shared_libs: [
        "libnativeloader",
        "liblog",
+5 −1
Original line number Diff line number Diff line
@@ -17,9 +17,13 @@ cc_library_shared {
    vendor: true,

    clang: true,
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-user-defined-warnings",
    ],
    cppflags: [
        "-Weverything",
        "-Wall",
        "-Wunused",
        "-Wunreachable-code",

+8 −0
Original line number Diff line number Diff line
@@ -7,6 +7,12 @@ cc_test {
        "InputEvent_test.cpp",
        "InputPublisherAndConsumer_test.cpp",
    ],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-error=sign-compare", // to fix later
        "-Wno-unused-variable",
    ],
    shared_libs: [
        "libinput",
        "libcutils",
@@ -24,5 +30,7 @@ cc_library_static {
    srcs: ["StructLayout_test.cpp"],
    cflags: [
        "-O0",
        "-Wall",
        "-Werror",
    ],
}
+4 −0
Original line number Diff line number Diff line
@@ -18,22 +18,26 @@ cc_test {
    name: "vec_test",
    srcs: ["vec_test.cpp"],
    static_libs: ["libmath"],
    cflags: ["-Wall", "-Werror"],
}

cc_test {
    name: "mat_test",
    srcs: ["mat_test.cpp"],
    static_libs: ["libmath"],
    cflags: ["-Wall", "-Werror"],
}

cc_test {
    name: "half_test",
    srcs: ["half_test.cpp"],
    static_libs: ["libmath"],
    cflags: ["-Wall", "-Werror"],
}

cc_test {
    name: "quat_test",
    srcs: ["quat_test.cpp"],
    static_libs: ["libmath"],
    cflags: ["-Wall", "-Werror"],
}