33c7ebd729
The commneted code is the only place in AOSP that still reference BOARD_HAVE_BLUETOOTH and BOARD_USES_GENERIC_AUDIO. Delete it to make things cleaner. Test: Build Change-Id: I37e3135bf2db2c6d46eb59d5a0de49d02c1a036d Signed-off-by: Bin Chen <bin.chen@linaro.org>
67 lines
1.5 KiB
Makefile
67 lines
1.5 KiB
Makefile
# Copyright 2011 The Android Open Source Project
|
|
|
|
#AUDIO_POLICY_TEST := true
|
|
#ENABLE_AUDIO_DUMP := true
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
AudioHardwareInterface.cpp \
|
|
audio_hw_hal.cpp
|
|
|
|
LOCAL_MODULE := libaudiohw_legacy
|
|
LOCAL_SHARED_LIBRARIES := libmedia
|
|
LOCAL_STATIC_LIBRARIES := libmedia_helper
|
|
LOCAL_CFLAGS := -Wno-unused-parameter -Wno-gnu-designator
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
AudioPolicyManagerBase.cpp \
|
|
AudioPolicyCompatClient.cpp \
|
|
audio_policy_hal.cpp
|
|
|
|
ifeq ($(AUDIO_POLICY_TEST),true)
|
|
LOCAL_CFLAGS += -DAUDIO_POLICY_TEST
|
|
endif
|
|
|
|
LOCAL_SHARED_LIBRARIES := libmedia
|
|
LOCAL_STATIC_LIBRARIES := libmedia_helper
|
|
LOCAL_MODULE := libaudiopolicy_legacy
|
|
LOCAL_CFLAGS += -Wno-unused-parameter
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../include
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
# The default audio policy, for now still implemented on top of legacy
|
|
# policy code
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
AudioPolicyManagerDefault.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libmedia \
|
|
libutils \
|
|
liblog
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libmedia_helper
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := \
|
|
libaudiopolicy_legacy
|
|
|
|
LOCAL_MODULE := audio_policy.default
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_CFLAGS := -Wno-unused-parameter
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|