soong: Add support to set vendor tag with client package name
* OEMs like OnePlus and Nothing detect camera package name to unlock features like 48mp. * Use TARGET_CAMERA_PACKAGE_NAME to specify the package name. Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
committed by
Zabuka_zuzu
parent
fbbbc0a3c1
commit
1f034f65df
@@ -32,6 +32,14 @@ endef
|
||||
|
||||
$(foreach v,$(EXPORT_TO_SOONG),$(eval $(call addVar,$(v))))
|
||||
|
||||
# Camera
|
||||
ifneq ($(TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED),)
|
||||
$(error TARGET_CAMERA_OVERRIDE_FORMAT_FROM_RESERVED is deprecated, please migrate to soong_config_set,camera,override_format_from_reserved)
|
||||
endif
|
||||
ifneq ($(TARGET_CAMERA_PACKAGE_NAME),)
|
||||
$(call soong_config_set,camera,package_name,$(TARGET_CAMERA_PACKAGE_NAME))
|
||||
endif
|
||||
|
||||
# Libui
|
||||
ifneq ($(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS),)
|
||||
$(call soong_config_set,libui,additional_gralloc_10_usage_bits,$(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS))
|
||||
|
||||
Reference in New Issue
Block a user