Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0337652d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "QMAA: Add support for HAL module disable"

parents c510b19f f1290152
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
ifneq ($(AUDIO_USE_STUB_HAL), true)
ifneq ($(filter mpq8092 msm8960 msm8226 msm8x26 msm8610 msm8974 msm8x74 apq8084 msm8916 msm8994 msm8992 msm8909 msm8996 msm8952 msm8937 thorium msm8953 msmgold msm8998 sdm660 sdm845 sdm710 apq8098_latv qcs605 msmnile $(MSMSTEPPE),$(TARGET_BOARD_PLATFORM)),)

MY_LOCAL_PATH := $(call my-dir)
@@ -23,3 +24,4 @@ include $(MY_LOCAL_PATH)/audiod/Android.mk
endif

endif
endif
+8 −0
Original line number Diff line number Diff line
#BOARD_USES_GENERIC_AUDIO := true
#
#AUDIO_FEATURE_FLAGS
ifeq ($(TARGET_USES_QMAA_OVERRIDE_AUDIO), false)
ifeq ($(TARGET_USES_QMAA),true)
AUDIO_USE_STUB_HAL := true
endif
endif

ifneq ($(AUDIO_USE_STUB_HAL), true)
BOARD_USES_ALSA_AUDIO := true
TARGET_USES_AOSP_FOR_AUDIO := false

@@ -241,6 +248,7 @@ persist.vendor.audio.voicecall.speaker.stereo=true
#enable AAC frame ctl for A2DP sinks
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.bt.aac_frm_ctl.enabled=true
endif

# for HIDL related packages
PRODUCT_PACKAGES += \
+2 −0
Original line number Diff line number Diff line
ifneq ($(AUDIO_USE_STUB_HAL), true)
ifeq ($(strip $(BOARD_USES_ALSA_AUDIO)),true)

LOCAL_PATH := $(call my-dir)
@@ -471,3 +472,4 @@ LOCAL_CFLAGS += -Wno-unused-function
LOCAL_CFLAGS += -Wno-unused-local-typedef

endif
endif
+2 −0
Original line number Diff line number Diff line
ifneq ($(AUDIO_USE_STUB_HAL), true)
LOCAL_CFLAGS += -Wno-unused-variable
LOCAL_CFLAGS += -Wno-sign-compare
LOCAL_CFLAGS += -Wno-unused-parameter
@@ -12,3 +13,4 @@ LOCAL_CFLAGS += -Wno-unused-local-typedef
ifeq ($(strip $(TARGET_USES_QCOM_MM_AUDIO)),true)
include $(call all-subdir-makefiles)
endif
endif
+2 −1
Original line number Diff line number Diff line

ifneq ($(AUDIO_USE_STUB_HAL), true)
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)
@@ -199,3 +199,4 @@ endif
include $(BUILD_SHARED_LIBRARY)

endif
endif
Loading