c7b6e3c857
Fix a few 64-bit warnings and set -Wno-unused-parameter, which makes the directory warnings-clean on 32-bit and 64-bit. Remove LOCAL_32_BIT_ONLY. Change-Id: I688b31683f1a6598419866d9b7b6bc27a7056f4a
84 lines
1.8 KiB
Makefile
84 lines
1.8 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_MODULE_TAGS := optional
|
|
LOCAL_STATIC_LIBRARIES := libmedia_helper
|
|
LOCAL_CFLAGS := -Wno-unused-parameter
|
|
|
|
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_STATIC_LIBRARIES := libmedia_helper
|
|
LOCAL_MODULE := libaudiopolicy_legacy
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_CFLAGS += -Wno-unused-parameter
|
|
|
|
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 \
|
|
libutils \
|
|
liblog
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libmedia_helper
|
|
|
|
LOCAL_WHOLE_STATIC_LIBRARIES := \
|
|
libaudiopolicy_legacy
|
|
|
|
LOCAL_MODULE := audio_policy.default
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_CFLAGS := -Wno-unused-parameter
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
#ifeq ($(ENABLE_AUDIO_DUMP),true)
|
|
# LOCAL_SRC_FILES += AudioDumpInterface.cpp
|
|
# LOCAL_CFLAGS += -DENABLE_AUDIO_DUMP
|
|
#endif
|
|
#
|
|
#ifeq ($(strip $(BOARD_USES_GENERIC_AUDIO)),true)
|
|
# LOCAL_CFLAGS += -D GENERIC_AUDIO
|
|
#endif
|
|
|
|
#ifeq ($(BOARD_HAVE_BLUETOOTH),true)
|
|
# LOCAL_SRC_FILES += A2dpAudioInterface.cpp
|
|
# LOCAL_SHARED_LIBRARIES += liba2dp
|
|
# LOCAL_C_INCLUDES += $(call include-path-for, bluez)
|
|
#
|
|
# LOCAL_CFLAGS += \
|
|
# -DWITH_BLUETOOTH \
|
|
#endif
|
|
#
|
|
#include $(BUILD_SHARED_LIBRARY)
|
|
|
|
# AudioHardwareGeneric.cpp \
|
|
# AudioHardwareStub.cpp \
|