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

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

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

am: ea6c6b9f

Change-Id: Iaa21a1f14f0de0147879b256c2beb5a50e4ec67e
parents 6337a118 ea6c6b9f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ LOCAL_SRC_FILES:= \
    Renderers.cpp   \
    Main.cpp        \

LOCAL_CFLAGS := -Wall -Werror

LOCAL_MODULE:= flatland

LOCAL_MODULE_TAGS := tests
+0 −5
Original line number Diff line number Diff line
@@ -284,7 +284,6 @@ class Layer {
public:

    Layer() :
        mFirstFrame(true),
        mGLHelper(NULL),
        mSurface(EGL_NO_SURFACE) {
    }
@@ -358,8 +357,6 @@ public:
    }

private:
    bool mFirstFrame;

    LayerDesc mDesc;

    GLHelper* mGLHelper;
@@ -389,7 +386,6 @@ public:
        ATRACE_CALL();

        bool result;
        EGLint resulte;

        float scaleFactor = float(mDesc.runHeights[mInstance]) /
            float(mDesc.height);
@@ -465,7 +461,6 @@ public:
        ATRACE_CALL();

        bool result;
        status_t err;

        resetColorGenerator();

+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := ip-up-vpn.c
LOCAL_CFLAGS := -Wall -Werror
LOCAL_SHARED_LIBRARIES := libcutils liblog
LOCAL_MODULE := ip-up-vpn
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/ppp
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ include $(CLEAR_VARS)

LOCAL_SRC_FILES:= backup.cpp

LOCAL_CFLAGS := -Wall -Werror

LOCAL_SHARED_LIBRARIES := libcutils libc

LOCAL_MODULE:= rawbu
+0 −1
Original line number Diff line number Diff line
@@ -129,7 +129,6 @@ static int wipe (const char *path)
        }

        if(S_ISDIR(statBuffer.st_mode)) {
            int i;
            char *newpath;

            newpath = strdup(nameBuffer);