Set PRODUCT_SHIPPING_API_LEVEL in module_*
This setting doesn't really make sense for unbundled builds but does have the side-effect of turning on "full treble", which in turn is used by some modules (libhidlbase) to conditionally use some particular -D when compiling. The media.swcodec does not work without this define. Bug: 185759877 Bug: 185789027 Test: compare media.swcodec apex build with module_arm64 and aosp_arm64 Change-Id: I1ebeb5f37816d8576a00ab7553cb4e9e1cab8cfa
This commit is contained in:
parent
f7ac2d31d4
commit
d0871073ab
1 changed files with 4 additions and 0 deletions
|
@ -17,3 +17,7 @@
|
|||
$(call inherit-product, $(SRC_TARGET_DIR)/product/default_art_config.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_default.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/cfi-common.mk)
|
||||
|
||||
# Enables treble, which enabled certain -D compilation flags. In particular, libhidlbase
|
||||
# uses -DENFORCE_VINTF_MANIFEST. See b/185759877
|
||||
PRODUCT_SHIPPING_API_LEVEL := 29
|
||||
|
|
Loading…
Reference in a new issue