Indranil Chakraborty | 36e686a | 2018-04-05 12:05:02 +0530 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
Shivam Agrawal | 9559921 | 2020-07-30 12:27:45 +0530 | [diff] [blame^] | 2 | |
| 3 | |
| 4 | #-------------------------------------------------------------------------------- |
| 5 | # BUILD FOR SYSTEM PARTITION |
| 6 | #Guard compilation of system modules from vendor-target as these modules would be |
| 7 | #scanned during vendor compilation. With introduction of groups feature, this would |
| 8 | #raise compilation issues as certain commonsys deliverables would be missing |
| 9 | ifeq ($(call is-product-in-list, qssi qssi_32),true) |
Indranil Chakraborty | 36e686a | 2018-04-05 12:05:02 +0530 | [diff] [blame] | 10 | include $(CLEAR_VARS) |
| 11 | |
| 12 | LOCAL_SRC_FILES := aacEncode.cpp |
| 13 | LOCAL_SRC_FILES += aacDecode.cpp |
| 14 | |
| 15 | LOCAL_C_INCLUDES := $(LOCAL_PATH) |
| 16 | LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACenc/include |
| 17 | LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACdec/include |
| 18 | LOCAL_C_INCLUDES += $(TOP)/external/aac/libSYS/include |
| 19 | |
| 20 | LOCAL_SHARED_LIBRARIES := liblog |
Li Sun | fbd1658 | 2020-06-10 17:09:17 +0800 | [diff] [blame] | 21 | LOCAL_SHARED_LIBRARIES += libavservices_minijail |
Lubin Yin | 2a76417 | 2020-07-12 22:47:44 -0700 | [diff] [blame] | 22 | LOCAL_SHARED_LIBRARIES += vendor.display.config@2.0 |
| 23 | LOCAL_SHARED_LIBRARIES += libdisplayconfig.qti |
Indranil Chakraborty | 36e686a | 2018-04-05 12:05:02 +0530 | [diff] [blame] | 24 | LOCAL_STATIC_LIBRARIES := libFraunhoferAAC |
| 25 | |
| 26 | LOCAL_32_BIT_ONLY := true |
| 27 | LOCAL_MODULE := libwfdaac |
Lubin Yin | f632e7c | 2019-05-20 14:50:27 -0700 | [diff] [blame] | 28 | LOCAL_CFLAGS += -O0 |
Indranil | 766318c | 2020-02-18 18:41:24 +0530 | [diff] [blame] | 29 | LOCAL_SYSTEM_EXT_MODULE := true |
Lubin Yin | b97ea6c | 2019-04-03 11:33:28 -0700 | [diff] [blame] | 30 | LOCAL_SANITIZE := integer_overflow |
Indranil Chakraborty | 36e686a | 2018-04-05 12:05:02 +0530 | [diff] [blame] | 31 | include $(BUILD_SHARED_LIBRARY) |
Shivam Agrawal | 9559921 | 2020-07-30 12:27:45 +0530 | [diff] [blame^] | 32 | endif |
Lubin Yin | acdb81b | 2018-11-28 11:52:34 -0800 | [diff] [blame] | 33 | |
| 34 | include $(CLEAR_VARS) |
| 35 | |
| 36 | LOCAL_SRC_FILES := aacEncode.cpp |
| 37 | LOCAL_SRC_FILES += aacDecode.cpp |
| 38 | |
| 39 | LOCAL_C_INCLUDES := $(LOCAL_PATH) |
| 40 | LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACenc/include |
| 41 | LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACdec/include |
| 42 | LOCAL_C_INCLUDES += $(TOP)/external/aac/libSYS/include |
| 43 | |
| 44 | LOCAL_HEADER_LIBRARIES += libutils_headers |
| 45 | |
| 46 | LOCAL_SHARED_LIBRARIES := liblog |
Li Sun | fbd1658 | 2020-06-10 17:09:17 +0800 | [diff] [blame] | 47 | LOCAL_SHARED_LIBRARIES += libavservices_minijail |
Lubin Yin | 2a76417 | 2020-07-12 22:47:44 -0700 | [diff] [blame] | 48 | LOCAL_SHARED_LIBRARIES += vendor.display.config@2.0 |
| 49 | LOCAL_SHARED_LIBRARIES += libdisplayconfig.qti |
Lubin Yin | acdb81b | 2018-11-28 11:52:34 -0800 | [diff] [blame] | 50 | LOCAL_STATIC_LIBRARIES := libFraunhoferAAC |
| 51 | |
Indranil | 3f62397 | 2019-02-08 17:11:57 +0530 | [diff] [blame] | 52 | LOCAL_VENDOR_MODULE := true |
Lubin Yin | acdb81b | 2018-11-28 11:52:34 -0800 | [diff] [blame] | 53 | |
| 54 | LOCAL_32_BIT_ONLY := true |
Indranil | 3f62397 | 2019-02-08 17:11:57 +0530 | [diff] [blame] | 55 | LOCAL_MODULE := libwfdaac_vendor |
Lubin Yin | f632e7c | 2019-05-20 14:50:27 -0700 | [diff] [blame] | 56 | LOCAL_CFLAGS += -O0 |
Lubin Yin | acdb81b | 2018-11-28 11:52:34 -0800 | [diff] [blame] | 57 | |
Lubin Yin | b97ea6c | 2019-04-03 11:33:28 -0700 | [diff] [blame] | 58 | LOCAL_SANITIZE := integer_overflow |
Lubin Yin | acdb81b | 2018-11-28 11:52:34 -0800 | [diff] [blame] | 59 | include $(BUILD_SHARED_LIBRARY) |