Skip to content

Commit

Permalink
ags: Only build headers required for bt codec plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
  • Loading branch information
HELLBOY017 committed Jul 4, 2024
1 parent a72f3db commit 7e2d184
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions ar_osal/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)

#----------------------------------------------------------------------------
Expand Down Expand Up @@ -92,3 +94,5 @@ LOCAL_SHARED_LIBRARIES += libcutils
LOCAL_HEADER_LIBRARIES += vendor_common_inc

include $(BUILD_SHARED_LIBRARY)

endif

0 comments on commit 7e2d184

Please sign in to comment.