soong_config: Add TARGET_HAS_LEGACY_CAMERA_HAL1 variable

* Soong product variable 'has_legacy_camera_hal1'

Change-Id: I10800cba0c431297b5d7aad6e97d57a01232d73e
Signed-off-by: Adrian DC <radian.dc@gmail.com>
gugelfrei
Adrian DC 7 years ago committed by Arne Coucheron
parent a9e0134376
commit 41927e4838

@ -1,5 +1,8 @@
package android
type Product_variables struct {
Has_legacy_camera_hal1 struct {
Cflags []string
}
Needs_text_relocations struct {
Cppflags []string
}
@ -19,6 +22,7 @@ type Product_variables struct {
}
type ProductVariables struct {
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"`

@ -4,6 +4,7 @@ lineage_soong:
$(hide) (\
echo '{'; \
echo '"Lineage": {'; \
echo ' "Has_legacy_camera_hal1": $(if $(filter true,$(TARGET_HAS_LEGACY_CAMERA_HAL1)),true,false),'; \
echo ' "Needs_text_relocations": $(if $(filter true,$(TARGET_NEEDS_PLATFORM_TEXT_RELOCATIONS)),true,false),'; \
echo ' "Specific_camera_parameter_library": "$(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY)",'; \
echo ' "Target_shim_libs": "$(subst $(space),:,$(TARGET_LD_SHIM_LIBS))",'; \

Loading…
Cancel
Save