audio: unify hal
Unify audio hal components
CRs-Fixed: 2380934
Change-Id: Iacafdc44d935de5f343240421a1572a0a3241bd0
diff --git a/visualizer/Android.mk b/visualizer/Android.mk
index 5c663bd..5ce31b6 100644
--- a/visualizer/Android.mk
+++ b/visualizer/Android.mk
@@ -1,4 +1,4 @@
-# Copyright 2013 The Android Open Source Project
+# Copyright 2013, 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -18,11 +18,18 @@
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
- offload_visualizer.c
+ offload_visualizer.c
LOCAL_CFLAGS+= -O2 -fvisibility=hidden
-LOCAL_CFLAGS += -Wno-unused-variable -Wno-unused-parameter -Wno-gnu-designator -Wno-unused-value -Wno-typedef-redefinition
+LOCAL_CFLAGS += \
+ -Wall \
+ -Werror \
+ -Wno-unused-variable \
+ -Wno-unused-parameter \
+ -Wno-gnu-designator \
+ -Wno-unused-value \
+ -Wno-typedef-redefinition
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_GCOV)),true)
LOCAL_CFLAGS += --coverage -fprofile-arcs -ftest-coverage
@@ -37,18 +44,18 @@
LOCAL_HEADER_LIBRARIES := libsystem_headers \
libhardware_headers
LOCAL_SHARED_LIBRARIES := \
- libcutils \
- liblog \
- libdl \
- libtinyalsa
+ libcutils \
+ liblog \
+ libdl \
+ libtinyalsa
LOCAL_MODULE_RELATIVE_PATH := soundfx
LOCAL_MODULE:= libqcomvisualizer
LOCAL_VENDOR_MODULE := true
LOCAL_C_INCLUDES := \
- external/tinyalsa/include \
- $(call include-path-for, audio-effects)
+ external/tinyalsa/include \
+ $(call include-path-for, audio-effects)
LOCAL_CFLAGS += -Wno-unused-variable
LOCAL_CFLAGS += -Wno-sign-compare