Files
vendor_strix/build/soong/android/variable.go
Kevin F. Haggerty 59009f8a5e soong_config: Allow extension of valid gralloc 1.0 buffer usage bits
* fw/native change I7f4174581e24e361577640b9263514a168ed482d
  implemented validation of the buffer description info prior to
  creating the descriptor. Some of our legacy devices need to
  whitelist additional usage bits to support various functionality.
* The TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS variable can contain
  a singular roll-up value (e.g., 0x02000000U), a left-shifted bit
  (e.g., (1 << 25)), a bitwise OR of these things, or essentially
  anything that the compiler can choke down.

Change-Id: I2127d33b03426b5e0f981aae837e07d82163fa17
2018-09-10 23:31:20 +02:00

41 lines
1.0 KiB
Go

package android
type Product_variables struct {
Additional_gralloc_10_usage_bits struct {
Cppflags []string
}
Has_legacy_camera_hal1 struct {
Cflags []string
}
Needs_text_relocations struct {
Cppflags []string
}
Target_shim_libs struct {
Cppflags []string
}
Uses_generic_camera_parameter_library struct {
Srcs []string
}
Uses_nvidia_enhancements struct {
Cppflags []string
}
Uses_qcom_bsp_legacy struct {
Cppflags []string
}
Uses_qti_camera_device struct {
Cppflags []string
Shared_libs []string
}
}
type ProductVariables struct {
Additional_gralloc_10_usage_bits *string `json:",omitempty"`
Has_legacy_camera_hal1 *bool `json:",omitempty"`
Needs_text_relocations *bool `json:",omitempty"`
Specific_camera_parameter_library *string `json:",omitempty"`
Target_shim_libs *string `json:",omitempty"`
Uses_generic_camera_parameter_library *bool `json:",omitempty"`
Uses_nvidia_enhancements *bool `json:",omitempty"`
Uses_qcom_bsp_legacy *bool `json:",omitempty"`
Uses_qti_camera_device *bool `json:",omitempty"`
}