1 2ifneq ($(BUILD_TINY_ANDROID),true) 3 4LOCAL_PATH := $(call my-dir) 5 6include $(CLEAR_VARS) 7 8LOCAL_SRC_FILES:= \ 9 AudioPolicyManager.cpp 10 11LOCAL_SHARED_LIBRARIES := \ 12 libcutils \ 13 libutils \ 14 libmedia 15 16LOCAL_STATIC_LIBRARIES := libaudiopolicybase 17 18LOCAL_MODULE:= libaudiopolicy 19 20ifeq ($(BOARD_HAVE_BLUETOOTH),true) 21 LOCAL_CFLAGS += -DWITH_A2DP 22endif 23 24include $(BUILD_SHARED_LIBRARY) 25 26 27include $(CLEAR_VARS) 28 29LOCAL_MODULE := libaudio 30 31LOCAL_SHARED_LIBRARIES := \ 32 libcutils \ 33 libutils \ 34 libmedia \ 35 libhardware_legacy 36 37LOCAL_SHARED_LIBRARIES += libdl 38 39LOCAL_SRC_FILES += AudioHardware.cpp 40 41LOCAL_CFLAGS += -fno-short-enums 42 43LOCAL_STATIC_LIBRARIES += libaudiointerface 44ifeq ($(BOARD_HAVE_BLUETOOTH),true) 45 LOCAL_SHARED_LIBRARIES += liba2dp 46endif 47 48include $(BUILD_SHARED_LIBRARY) 49 50endif # not BUILD_TINY_ANDROID 51 52