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