OSDN Git Service

libhardware_legacy: remove dead code in Android.mk
authorBin Chen <bin.chen@linaro.org>
Mon, 13 Feb 2017 05:47:42 +0000 (16:47 +1100)
committerBin Chen <bin.chen@linaro.org>
Mon, 13 Feb 2017 05:55:19 +0000 (16:55 +1100)
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>
audio/Android.mk

index d9d2d6a..a64c6b8 100644 (file)
@@ -65,25 +65,3 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include
 
 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 \