blob: 348ab5082ff8214855e107db4dfcef8174cd10cb [file] [log] [blame]
Marco Nelissen795a2a72016-11-02 13:21:22 -07001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_SRC_FILES += \
6 AudioEffect.cpp \
7 AudioPolicy.cpp \
8 AudioRecord.cpp \
9 AudioSystem.cpp \
10 AudioTrack.cpp \
11 AudioTrackShared.cpp \
12 IAudioFlinger.cpp \
13 IAudioFlingerClient.cpp \
14 IAudioPolicyService.cpp \
15 IAudioPolicyServiceClient.cpp \
16 IAudioRecord.cpp \
17 IAudioTrack.cpp \
18 IEffect.cpp \
19 IEffectClient.cpp \
20 ToneGenerator.cpp \
21
22LOCAL_SHARED_LIBRARIES := \
23 liblog libcutils libutils libbinder \
24 libdl libaudioutils \
25
26LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libbinder
27
28# for memory heap analysis
29LOCAL_STATIC_LIBRARIES := libc_malloc_debug_backtrace libc_logging
30
31LOCAL_MODULE:= libaudioclient
32
33LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
34
35LOCAL_C_INCLUDES := \
36 $(TOP)/frameworks/native/include/media/openmax \
37 $(TOP)/frameworks/av/include/media/ \
38 $(TOP)/frameworks/av/media/libstagefright \
39 $(TOP)/frameworks/av/media/libmedia/aidl \
40 $(call include-path-for, audio-utils)
41
42LOCAL_EXPORT_C_INCLUDE_DIRS := \
43 frameworks/av/include/media \
44 frameworks/av/media/libmedia/aidl
45
46LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall
47LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow
48
49include $(BUILD_SHARED_LIBRARY)
50