From 33c7ebd729b5831db4a8e51e55ea7a755669f2f1 Mon Sep 17 00:00:00 2001 From: Bin Chen Date: Mon, 13 Feb 2017 16:47:42 +1100 Subject: [PATCH] libhardware_legacy: remove dead code in Android.mk 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 --- audio/Android.mk | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/audio/Android.mk b/audio/Android.mk index d9d2d6a..a64c6b8 100644 --- a/audio/Android.mk +++ b/audio/Android.mk @@ -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 \