blob: 68a6a5dd561304bfdfbc0c87f07308338ccc1a4c [file] [log] [blame]
Indranil Chakraborty36e686a2018-04-05 12:05:02 +05301LOCAL_PATH := $(call my-dir)
Shivam Agrawal95599212020-07-30 12:27:45 +05302
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
9ifeq ($(call is-product-in-list, qssi qssi_32),true)
Indranil Chakraborty36e686a2018-04-05 12:05:02 +053010include $(CLEAR_VARS)
11
12LOCAL_SRC_FILES := aacEncode.cpp
13LOCAL_SRC_FILES += aacDecode.cpp
14
15LOCAL_C_INCLUDES := $(LOCAL_PATH)
16LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACenc/include
17LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACdec/include
18LOCAL_C_INCLUDES += $(TOP)/external/aac/libSYS/include
19
20LOCAL_SHARED_LIBRARIES := liblog
Shivam Agrawal42a00332020-07-27 11:48:31 +053021LOCAL_SHARED_LIBRARIES += libminijail
Li Sunfbd16582020-06-10 17:09:17 +080022LOCAL_SHARED_LIBRARIES += libavservices_minijail
Lubin Yin2a764172020-07-12 22:47:44 -070023LOCAL_SHARED_LIBRARIES += vendor.display.config@2.0
24LOCAL_SHARED_LIBRARIES += libdisplayconfig.qti
Indranil Chakraborty36e686a2018-04-05 12:05:02 +053025LOCAL_STATIC_LIBRARIES := libFraunhoferAAC
26
27LOCAL_32_BIT_ONLY := true
28LOCAL_MODULE := libwfdaac
Lubin Yinf632e7c2019-05-20 14:50:27 -070029LOCAL_CFLAGS += -O0
Indranil766318c2020-02-18 18:41:24 +053030LOCAL_SYSTEM_EXT_MODULE := true
Lubin Yinb97ea6c2019-04-03 11:33:28 -070031LOCAL_SANITIZE := integer_overflow
Indranil Chakraborty36e686a2018-04-05 12:05:02 +053032include $(BUILD_SHARED_LIBRARY)
Shivam Agrawal95599212020-07-30 12:27:45 +053033endif
Lubin Yinacdb81b2018-11-28 11:52:34 -080034
35include $(CLEAR_VARS)
36
37LOCAL_SRC_FILES := aacEncode.cpp
38LOCAL_SRC_FILES += aacDecode.cpp
39
40LOCAL_C_INCLUDES := $(LOCAL_PATH)
41LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACenc/include
42LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACdec/include
43LOCAL_C_INCLUDES += $(TOP)/external/aac/libSYS/include
44
45LOCAL_HEADER_LIBRARIES += libutils_headers
46
47LOCAL_SHARED_LIBRARIES := liblog
Shivam Agrawal42a00332020-07-27 11:48:31 +053048LOCAL_SHARED_LIBRARIES += libminijail
Li Sunfbd16582020-06-10 17:09:17 +080049LOCAL_SHARED_LIBRARIES += libavservices_minijail
Lubin Yin2a764172020-07-12 22:47:44 -070050LOCAL_SHARED_LIBRARIES += vendor.display.config@2.0
51LOCAL_SHARED_LIBRARIES += libdisplayconfig.qti
Lubin Yinacdb81b2018-11-28 11:52:34 -080052LOCAL_STATIC_LIBRARIES := libFraunhoferAAC
53
Indranil3f623972019-02-08 17:11:57 +053054LOCAL_VENDOR_MODULE := true
Lubin Yinacdb81b2018-11-28 11:52:34 -080055
56LOCAL_32_BIT_ONLY := true
Indranil3f623972019-02-08 17:11:57 +053057LOCAL_MODULE := libwfdaac_vendor
Lubin Yinf632e7c2019-05-20 14:50:27 -070058LOCAL_CFLAGS += -O0
Lubin Yinacdb81b2018-11-28 11:52:34 -080059
Lubin Yinb97ea6c2019-04-03 11:33:28 -070060LOCAL_SANITIZE := integer_overflow
Lubin Yinacdb81b2018-11-28 11:52:34 -080061include $(BUILD_SHARED_LIBRARY)