diff --git a/Android.mk b/Android.mk index d78afa1..3271ddf 100644 --- a/Android.mk +++ b/Android.mk @@ -1,3 +1,11 @@ +LOCAL_PATH := $(call my-dir) +AGS_PATH := $(call my-dir) + ifeq ($(strip $(TARGET_USES_QCOM_MM_AUDIO)),true) +ifneq ($(QCPATH),) include $(call all-subdir-makefiles) +else + include $(AGS_PATH)/ar_osal/Android.mk + include $(AGS_PATH)/spf/Android.mk +endif endif diff --git a/ar_osal/Android.mk b/ar_osal/Android.mk index 3d0954d..bab1d39 100644 --- a/ar_osal/Android.mk +++ b/ar_osal/Android.mk @@ -6,6 +6,8 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/api LOCAL_PROPRIETARY_MODULE := true include $(BUILD_HEADER_LIBRARY) +ifneq ($(QCPATH),) + include $(CLEAR_VARS) #---------------------------------------------------------------------------- @@ -92,3 +94,5 @@ LOCAL_SHARED_LIBRARIES += libcutils LOCAL_HEADER_LIBRARIES += vendor_common_inc include $(BUILD_SHARED_LIBRARY) + +endif