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

Commit 973df98c authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by android-build-merger
Browse files

Merge "Use -Werror in frameworks/native/libs" am: b6dabc88 am: a1ff1045 am: de5c8a55

am: 1e6380e8

Change-Id: I8510318912bdd097f73e21351cb0801289023442
parents a801c6b3 1e6380e8
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
@@ -8,6 +8,12 @@ cc_test {
        "InputPublisherAndConsumer_test.cpp",
        "VelocityTracker_test.cpp",
    ],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-error=sign-compare", // to fix later
        "-Wno-unused-variable",
    ],
    shared_libs: [
        "libinput",
        "libcutils",
@@ -26,5 +32,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"],
}