diff options
author | Shivam Agrawal <shivagra@codeaurora.org> | 2020-07-30 12:27:45 +0530 |
---|---|---|
committer | Shivam Agrawal <shivagra@codeaurora.org> | 2020-08-03 10:34:51 +0530 |
commit | 955992157e9ae338b427cd37ef8995288ebe1db9 (patch) | |
tree | 42b43f870f8cd5629b16d3bc7780b5920c8833de | |
parent | 2a7641799e60dc526dc0a764fe3c16b69115b73e (diff) |
wfd-commonsys: Guard compilation of system libs
-Compile system deliverables only for QSSI & related targets.
Guard system modules from compilation during vendor compilation
to meet groups requirement.
Change-Id: Ic8f600cbd3b04f8067630608007d3c6cb6528349
-rw-r--r-- | libaac/Android.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libaac/Android.mk b/libaac/Android.mk index 4280ec3..751fcf3 100644 --- a/libaac/Android.mk +++ b/libaac/Android.mk @@ -1,4 +1,12 @@ LOCAL_PATH := $(call my-dir) + + +#-------------------------------------------------------------------------------- +# BUILD FOR SYSTEM PARTITION +#Guard compilation of system modules from vendor-target as these modules would be +#scanned during vendor compilation. With introduction of groups feature, this would +#raise compilation issues as certain commonsys deliverables would be missing +ifeq ($(call is-product-in-list, qssi qssi_32),true) include $(CLEAR_VARS) LOCAL_SRC_FILES := aacEncode.cpp @@ -21,6 +29,7 @@ LOCAL_CFLAGS += -O0 LOCAL_SYSTEM_EXT_MODULE := true LOCAL_SANITIZE := integer_overflow include $(BUILD_SHARED_LIBRARY) +endif include $(CLEAR_VARS) |