Marco Nelissen | 795a2a7 | 2016-11-02 13:21:22 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_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 | |
| 22 | LOCAL_SHARED_LIBRARIES := \ |
| 23 | liblog libcutils libutils libbinder \ |
| 24 | libdl libaudioutils \ |
| 25 | |
| 26 | LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libbinder |
| 27 | |
| 28 | # for memory heap analysis |
| 29 | LOCAL_STATIC_LIBRARIES := libc_malloc_debug_backtrace libc_logging |
| 30 | |
| 31 | LOCAL_MODULE:= libaudioclient |
| 32 | |
| 33 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
| 34 | |
| 35 | LOCAL_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 | |
| 42 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 43 | frameworks/av/include/media \ |
| 44 | frameworks/av/media/libmedia/aidl |
| 45 | |
| 46 | LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall |
| 47 | LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow |
| 48 | |
| 49 | include $(BUILD_SHARED_LIBRARY) |
| 50 | |