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

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

Merge "Use -Werror in hardware/qcom/audio"

parents f2fdd398 aa016a5a
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -2,6 +2,12 @@ ifneq ($(filter msm8974 msm8226 msm8084 msm8992 msm8994 msm8996 msm8909 msm8998,

LOCAL_PATH:= $(call my-dir)

qcom_post_proc_common_cflags := \
    -O2 -fvisibility=hidden \
    -Wall -Werror \
    -Wno-unused-function \
    -Wno-unused-variable \

include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
@@ -12,7 +18,7 @@ LOCAL_SRC_FILES:= \
	reverb.c \
	effect_api.c

LOCAL_CFLAGS+= -O2 -fvisibility=hidden
LOCAL_CFLAGS += $(qcom_post_proc_common_cflags)

LOCAL_SHARED_LIBRARIES := \
	libcutils \
@@ -44,7 +50,7 @@ LOCAL_CFLAGS := -DLIB_AUDIO_HAL="audio.primary."$(TARGET_BOARD_PLATFORM)".so"
LOCAL_SRC_FILES:= \
	volume_listener.c

LOCAL_CFLAGS+= -O2 -fvisibility=hidden
LOCAL_CFLAGS += $(qcom_post_proc_common_cflags)

LOCAL_SHARED_LIBRARIES := \
	libcutils \
+5 −0
Original line number Diff line number Diff line
@@ -21,6 +21,11 @@ LOCAL_SRC_FILES:= \

LOCAL_CFLAGS+= -O2 -fvisibility=hidden

LOCAL_CFLAGS+= \
    -Wall \
    -Werror \
    -Wno-unused-variable \

LOCAL_SHARED_LIBRARIES := \
	libcutils \
	liblog \
+6 −0
Original line number Diff line number Diff line
@@ -12,6 +12,12 @@ LOCAL_MODULE_RELATIVE_PATH := soundfx
LOCAL_SRC_FILES:= \
    voice_processing.c

LOCAL_CFLAGS += \
    -Wall \
    -Werror \
    -Wno-unused-function \
    -Wno-unused-variable \

LOCAL_C_INCLUDES += \
    $(call include-path-for, audio-effects)