diff options
| author | techyguyperplexable <hlcj1234567@gmail.com> | 2025-08-25 16:31:34 +0100 |
|---|---|---|
| committer | techyguyperplexable <hlcj1234567@gmail.com> | 2025-08-25 16:40:11 +0100 |
| commit | e018bec81ffc2efe327fdfd4b6fbb6afe6f2cb7f (patch) | |
| tree | 017c0b5c12a2669fa6f743ee4d7dbb9d67f3ac83 | |
| parent | ecc945ac0df43fe4f5620bfddc7102e12898a50d (diff) | |
universal9830: Adapt Audio proxy to soong
| -rw-r--r-- | hardware/audio/proxy/Android.mk | 117 |
1 files changed, 0 insertions, 117 deletions
diff --git a/hardware/audio/proxy/Android.mk b/hardware/audio/proxy/Android.mk deleted file mode 100644 index 6cdbfaf..0000000 --- a/hardware/audio/proxy/Android.mk +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright (C) 2017 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -LOCAL_PATH := $(call my-dir) -SOC_BASE_PATH := $(TOP)/hardware/samsung_slsi-linaro/exynos - -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := \ - audio_proxy.c - -LOCAL_C_INCLUDES += \ - $(SOC_BASE_PATH)/include/libaudio/audiohal_comv1 \ - $(SOC_BASE_PATH)/libaudio/audiohal_comv1/odm_specific \ - external/tinyalsa/include \ - external/tinycompress/include \ - external/kernel-headers/original/uapi/sound \ - $(call include-path-for, audio-utils) \ - $(call include-path-for, audio-route) \ - $(call include-path-for, alsa-utils) \ - external/expat/lib - -LOCAL_HEADER_LIBRARIES := libhardware_headers -LOCAL_SHARED_LIBRARIES := liblog libcutils libtinyalsa libtinycompress libaudioutils libaudioroute libalsautils libexpat - -ifeq ($(BOARD_USE_SEC_AUDIO_PARAM_UPDATE),true) -LOCAL_SHARED_LIBRARIES += libaudioparamupdate libaudioroute.exynos990 libtinyalsa.exynos990 -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_RESAMPLER),true) -LOCAL_SHARED_LIBRARIES += libSamsungPostProcessConvertor -endif - -# USB Offload Audio Feature -ifeq ($(BOARD_USE_USB_OFFLOAD),true) -LOCAL_CFLAGS += -DSUPPORT_USB_OFFLOAD -LOCAL_SRC_FILES += audio_usb_proxy.c -endif - -# BT A2DP Offload HAL Interface -ifeq ($(BOARD_USE_BTA2DP_OFFLOAD),true) -LOCAL_CFLAGS += -DSUPPORT_BTA2DP_OFFLOAD -LOCAL_SRC_FILES += audio_a2dp_proxy.cpp -LOCAL_SHARED_LIBRARIES += libbase libhidlbase libhidlmemory libhwbinder libutils android.hidl.allocator@1.0 android.hidl.memory@1.0 -LOCAL_SHARED_LIBRARIES += vendor.samsung_slsi.hardware.ExynosA2DPOffload@2.0 -endif - -LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function - -# To use MCD specific definitions -LOCAL_CFLAGS += -DSUPPORT_MCD_FEATURE - -ifeq ($(BOARD_USE_SOUNDTRIGGER_HAL),true) -LOCAL_CFLAGS += -DSUPPORT_STHAL_INTERFACE -LOCAL_CFLAGS += -DTARGET_SOC_NAME=$(TARGET_SOC) -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_SOUND_TRIGGER_ENABLED),true) -LOCAL_CFLAGS += -DSEC_AUDIO_SOUND_TRIGGER_ENABLED -endif - -ifeq ($(BOARD_USE_QUAD_MIC),true) -LOCAL_CFLAGS += -DSUPPORT_QUAD_MIC -ifeq ($(BOARD_USE_CAMCORDER_QUAD_MIC),true) -LOCAL_CFLAGS += -DSUPPORT_CAMCORDER_QUAD_MIC -endif -endif - -ifeq ($(BOARD_USE_DIRECT_RCVSPK_PATH),true) -LOCAL_CFLAGS += -DSUPPORT_DIRECT_RCVSPK_PATH -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_DYNAMIC_NREC),true) -LOCAL_CFLAGS += -DSEC_AUDIO_DYNAMIC_NREC -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_DUMP),true) -LOCAL_CFLAGS += -DSEC_AUDIO_DUMP -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_PARAM_UPDATE),true) -LOCAL_CFLAGS += -DSEC_AUDIO_PARAM_UPDATE -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_SUPPORT_GAMECHAT_SPK_AEC),true) -LOCAL_CFLAGS += -DSEC_AUDIO_SUPPORT_GAMECHAT_SPK_AEC -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_RESAMPLER),true) -LOCAL_CFLAGS += -DSEC_AUDIO_RESAMPLER -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_SUPPORT_LISTENBACK_DSPEFFECT),true) -LOCAL_CFLAGS += -DSEC_AUDIO_SUPPORT_LISTENBACK_DSPEFFECT -endif - -ifeq ($(BOARD_USE_SEC_AUDIO_SAMSUNGRECORD),true) -LOCAL_CFLAGS += -DSEC_AUDIO_SAMSUNGRECORD -endif - -LOCAL_MODULE := libaudioproxy -LOCAL_MODULE_TAGS := optional - -LOCAL_PROPRIETARY_MODULE := true - -include $(BUILD_SHARED_LIBRARY) |
