blob: 751fcf391c9d222f1f15654dc65d9f255439afc5 [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
Li Sunfbd16582020-06-10 17:09:17 +080021LOCAL_SHARED_LIBRARIES += libavservices_minijail
Lubin Yin2a764172020-07-12 22:47:44 -070022LOCAL_SHARED_LIBRARIES += vendor.display.config@2.0
23LOCAL_SHARED_LIBRARIES += libdisplayconfig.qti
Indranil Chakraborty36e686a2018-04-05 12:05:02 +053024LOCAL_STATIC_LIBRARIES := libFraunhoferAAC
25
26LOCAL_32_BIT_ONLY := true
27LOCAL_MODULE := libwfdaac
Lubin Yinf632e7c2019-05-20 14:50:27 -070028LOCAL_CFLAGS += -O0
Indranil766318c2020-02-18 18:41:24 +053029LOCAL_SYSTEM_EXT_MODULE := true
Lubin Yinb97ea6c2019-04-03 11:33:28 -070030LOCAL_SANITIZE := integer_overflow
Indranil Chakraborty36e686a2018-04-05 12:05:02 +053031include $(BUILD_SHARED_LIBRARY)
Shivam Agrawal95599212020-07-30 12:27:45 +053032endif
Lubin Yinacdb81b2018-11-28 11:52:34 -080033
34include $(CLEAR_VARS)
35
36LOCAL_SRC_FILES := aacEncode.cpp
37LOCAL_SRC_FILES += aacDecode.cpp
38
39LOCAL_C_INCLUDES := $(LOCAL_PATH)
40LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACenc/include
41LOCAL_C_INCLUDES += $(TOP)/external/aac/libAACdec/include
42LOCAL_C_INCLUDES += $(TOP)/external/aac/libSYS/include
43
44LOCAL_HEADER_LIBRARIES += libutils_headers
45
46LOCAL_SHARED_LIBRARIES := liblog
Li Sunfbd16582020-06-10 17:09:17 +080047LOCAL_SHARED_LIBRARIES += libavservices_minijail
Lubin Yin2a764172020-07-12 22:47:44 -070048LOCAL_SHARED_LIBRARIES += vendor.display.config@2.0
49LOCAL_SHARED_LIBRARIES += libdisplayconfig.qti
Lubin Yinacdb81b2018-11-28 11:52:34 -080050LOCAL_STATIC_LIBRARIES := libFraunhoferAAC
51
Indranil3f623972019-02-08 17:11:57 +053052LOCAL_VENDOR_MODULE := true
Lubin Yinacdb81b2018-11-28 11:52:34 -080053
54LOCAL_32_BIT_ONLY := true
Indranil3f623972019-02-08 17:11:57 +053055LOCAL_MODULE := libwfdaac_vendor
Lubin Yinf632e7c2019-05-20 14:50:27 -070056LOCAL_CFLAGS += -O0
Lubin Yinacdb81b2018-11-28 11:52:34 -080057
Lubin Yinb97ea6c2019-04-03 11:33:28 -070058LOCAL_SANITIZE := integer_overflow
Lubin Yinacdb81b2018-11-28 11:52:34 -080059include $(BUILD_SHARED_LIBRARY)