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

Commit fcddb0b7 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Enable strict warning checks and fix

Change-Id: Id401a937911eb418e93314812f2f7c2b5ecff8d6
parent f81362f6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -19,4 +19,6 @@ LOCAL_SHARED_LIBRARIES := libbinder \
                          libutils \
                          liblog

LOCAL_CFLAGS := -Wall -Werror

include $(BUILD_SHARED_LIBRARY)
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ CCHelper::~CCHelper() {
    }
}

void CCHelper::CommonClockListener::onTimelineChanged(uint64_t timelineID) {
void CCHelper::CommonClockListener::onTimelineChanged(uint64_t timelineID __unused) {
    // do nothing; listener is only really used as a token so the server can
    // find out when clients die.
}
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ LOCAL_C_INCLUDES := \

LOCAL_CFLAGS += -fvisibility=hidden -D EXPORT='__attribute__ ((visibility ("default")))'

LOCAL_CFLAGS += -Werror
LOCAL_CFLAGS += -Werror -Wall

LOCAL_SHARED_LIBRARIES := \
    libbinder \
+2 −0
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@ LOCAL_SHARED_LIBRARIES := \
    liblog \
    libbinder

LOCAL_CFLAGS := -Wall -Werror

include $(BUILD_SHARED_LIBRARY)

include $(CLEAR_VARS)
+5 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
LOCAL_MODULE:= libaudiopolicyservice

LOCAL_CFLAGS += -fvisibility=hidden
LOCAL_CFLAGS += -Wall -Werror

include $(BUILD_SHARED_LIBRARY)

@@ -102,6 +103,8 @@ LOCAL_SHARED_LIBRARIES += libicuuc
LOCAL_CFLAGS += -DUSE_XML_AUDIO_POLICY_CONF
endif #ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)

LOCAL_CFLAGS += -Wall -Werror

LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)

LOCAL_MODULE:= libaudiopolicymanagerdefault
@@ -125,6 +128,8 @@ LOCAL_C_INCLUDES += \
    $(TOPDIR)frameworks/av/services/audiopolicy/common/include \
    $(TOPDIR)frameworks/av/services/audiopolicy/engine/interface

LOCAL_CFLAGS := -Wall -Werror

LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)

LOCAL_MODULE:= libaudiopolicymanager
Loading