Skip to content

Commit

Permalink
audioreach-graphservices: Only build headers required for bt codec pl…
Browse files Browse the repository at this point in the history
…ugins

Signed-off-by: Abhay Singh Gill <abhaygill017@gmail.com>
  • Loading branch information
HELLBOY017 committed Jul 4, 2024
1 parent a72f3db commit 16ccbcf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
LOCAL_PATH := $(call my-dir)

ifeq ($(strip $(TARGET_USES_QCOM_MM_AUDIO)),true)
ifneq ($(QCPATH),)
include $(call all-subdir-makefiles)
else
include $(LOCAL_PATH)/ar_osal/Android.mk
include $(LOCAL_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 16ccbcf

Please sign in to comment.