soong_config: Add BOOTLOADER_MESSAGE_OFFSET
* libbootloader_message now uses Android.bp Change-Id: I750a04be97dbe01564d45cd605744b15f209e408
This commit is contained in:
committed by
Michael Bestas
parent
7484149d3c
commit
e5acfae08c
@@ -6,6 +6,9 @@ type Product_variables struct {
|
||||
Apply_msm8974_1440p_egl_workaround struct {
|
||||
Cflags []string
|
||||
}
|
||||
Bootloader_message_offset struct {
|
||||
Cflags []string
|
||||
}
|
||||
Has_legacy_camera_hal1 struct {
|
||||
Cflags []string
|
||||
}
|
||||
@@ -47,6 +50,7 @@ type Product_variables struct {
|
||||
type ProductVariables struct {
|
||||
Additional_gralloc_10_usage_bits *string `json:",omitempty"`
|
||||
Apply_msm8974_1440p_egl_workaround *bool `json:",omitempty"`
|
||||
Bootloader_message_offset *int `json:",omitempty"`
|
||||
Has_legacy_camera_hal1 *bool `json:",omitempty"`
|
||||
Java_Source_Overlays *string `json:",omitempty"`
|
||||
Should_skip_waiting_for_qsee *bool `json:",omitempty"`
|
||||
|
@@ -1,10 +1,12 @@
|
||||
add_json_str_omitempty = $(if $(strip $(2)),$(call add_json_str, $(1), $(2)))
|
||||
add_json_val_default = $(call add_json_val, $(1), $(if $(strip $(2)), $(2), $(3)))
|
||||
|
||||
_contents := $(_contents) "Lineage":{$(newline)
|
||||
|
||||
# See build/core/soong_config.mk for the add_json_* functions you can use here.
|
||||
$(call add_json_str_omitempty, Additional_gralloc_10_usage_bits, $(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS))
|
||||
$(call add_json_bool, Apply_msm8974_1440p_egl_workaround, $(filter true,$(TARGET_MSM8974_1440P_EGL_WORKAROUND)))
|
||||
$(call add_json_val_default, Bootloader_message_offset, $(BOOTLOADER_MESSAGE_OFFSET), 0)
|
||||
$(call add_json_bool, Has_legacy_camera_hal1, $(filter true,$(TARGET_HAS_LEGACY_CAMERA_HAL1)))
|
||||
$(call add_json_str, Java_Source_Overlays, $(JAVA_SOURCE_OVERLAYS))
|
||||
$(call add_json_bool, Should_skip_waiting_for_qsee, $(filter true,$(TARGET_KEYMASTER_SKIP_WAITING_FOR_QSEE)))
|
||||
|
Reference in New Issue
Block a user