summaryrefslogtreecommitdiffstats
path: root/libaudio/Android.mk
diff options
context:
space:
mode:
authorAnton Rogozin <ant.rogozin@samsung.com>2010-10-07 11:39:37 +0900
committerEric Laurent <elaurent@google.com>2010-10-07 11:41:47 -0700
commitc438633685a7cede23633823086c9a29be40cc54 (patch)
tree312a7a288d923f826d6312efd096802a089ff27a /libaudio/Android.mk
parent3680ff0b8a3a25d05055079b4f4b033810bc9c1b (diff)
downloaddevice_samsung_crespo-c438633685a7cede23633823086c9a29be40cc54.zip
device_samsung_crespo-c438633685a7cede23633823086c9a29be40cc54.tar.gz
device_samsung_crespo-c438633685a7cede23633823086c9a29be40cc54.tar.bz2
libaudio: code cleanup & RIL interface update
Anton Rogozin <ant.rogozin@samsung.com>: Unused code removed, dynamic loading of RIL lib, alsa lib resampler turning on UK KIM <w0806.kim@samsung.com>: 1. deleted unneeded standby_l() and set_wakelock func() in each stream class. 2. use StreamOPS:close() to close stream. 3. reference new libaudio. Eric Laurent <elaurent@google.com>: Some more cleanup Fixed clicks when playing call ended tone Change-Id: Ieea1319262576b2f6680c675957643eacbab9c11
Diffstat (limited to 'libaudio/Android.mk')
-rwxr-xr-x[-rw-r--r--]libaudio/Android.mk31
1 files changed, 0 insertions, 31 deletions
diff --git a/libaudio/Android.mk b/libaudio/Android.mk
index 0a93f7d..5d44ca7 100644..100755
--- a/libaudio/Android.mk
+++ b/libaudio/Android.mk
@@ -19,20 +19,6 @@ ifeq ($(BOARD_USES_GENERIC_AUDIO),false)
LOCAL_CFLAGS += -DALSA_DEFAULT_SAMPLE_RATE=$(ALSA_DEFAULT_SAMPLE_RATE)
endif
-# Samsung Feature
-ifeq ($(TARGET_BOARD_PLATFORM),s5pc110)
- LOCAL_CFLAGS += -DSLSI_S5PC110
-
-# Samsung Driver Feature
-# LOCAL_CFLAGS += -DSEC_SWP_SOUND -DSEC_IPC -DPOWER_GATING -DSYNCHRONIZE_CP -DBT_NR_EC_ONOFF
- LOCAL_CFLAGS += -DSEC_SWP_SOUND -DSEC_IPC
- LOCAL_CFLAGS += -DTURN_ON_DEVICE_ONLY_USE
-endif
-
-ifeq ($(TARGET_BOARD_PLATFORM),s5pc100)
- LOCAL_CFLAGS += -DSLSI_S5PC100
-endif
-
LOCAL_C_INCLUDES += device/samsung/crespo/alsa-lib/include
LOCAL_SRC_FILES := AudioHardwareALSA.cpp
@@ -52,14 +38,6 @@ ifeq ($(BOARD_HAVE_BLUETOOTH),true)
LOCAL_SHARED_LIBRARIES += liba2dp
endif
-ifneq ($(NO_IPC_ALSA_RILD),true)
-ifeq ($(BOARD_USES_LIBSECRIL_STUB),true)
- LOCAL_SHARED_LIBRARIES += libsecril-client-stub
-else
- LOCAL_SHARED_LIBRARIES += libsecril-client
-endif
- LOCAL_CFLAGS += -DIPC_ALSA_RILD
-endif
include $(BUILD_SHARED_LIBRARY)
# To build audiopolicy library
@@ -83,15 +61,6 @@ endif
include $(BUILD_SHARED_LIBRARY)
-ifeq ($(BOARD_USES_LIBSECRIL_STUB),true)
-# A stub to replace libsecril-client at build time
-include $(CLEAR_VARS)
-LOCAL_SRC_FILES := secril_stub.c
-LOCAL_MODULE := libsecril-client-stub
-LOCAL_MODULE_TAGS := optional
-include $(BUILD_SHARED_LIBRARY)
-endif
-
endif
endif
endif