Commit 561f974b authored by Jan Altensen's avatar Jan Altensen Committed by Nolen Johnson
Browse files

soong_config: add TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE

Change-Id: I96dd2f7dd629a06de288332e1d00be827029e89c
parent 0fd97274
......@@ -34,6 +34,9 @@ type Product_variables struct {
Target_shim_libs struct {
Cppflags []string
}
Target_needs_netd_direct_connect_rule struct {
Cppflags []string
}
Uses_generic_camera_parameter_library struct {
Srcs []string
}
......@@ -61,6 +64,7 @@ type ProductVariables struct {
Target_init_vendor_lib *string `json:",omitempty"`
Target_process_sdk_version_override *string `json:",omitempty"`
Target_shim_libs *string `json:",omitempty"`
Target_needs_netd_direct_connect_rule *bool `json:",omitempty"`
Uses_generic_camera_parameter_library *bool `json:",omitempty"`
Uses_nvidia_enhancements *bool `json:",omitempty"`
Uses_qcom_bsp_legacy *bool `json:",omitempty"`
......
......@@ -15,6 +15,7 @@ $(call add_json_bool, Supports_hw_fde_perf, $(filter true,$(TARGET_HW_DISK_ENCRY
$(call add_json_str_omitempty, Target_init_vendor_lib, $(TARGET_INIT_VENDOR_LIB))
$(call add_json_str_omitempty, Target_process_sdk_version_override, $(TARGET_PROCESS_SDK_VERSION_OVERRIDE))
$(call add_json_str_omitempty, Target_shim_libs, $(subst $(space),:,$(TARGET_LD_SHIM_LIBS)))
$(call add_json_bool, Target_needs_netd_direct_connect_rule, $(filter true,$(TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE)))
$(call add_json_bool, Uses_generic_camera_parameter_library, $(if $(TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY),,true))
$(call add_json_bool, Uses_nvidia_enhancements, $(filter TRUE,$(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)))
$(call add_json_bool, Uses_qcom_bsp_legacy, $(filter true,$(TARGET_USES_QCOM_BSP_LEGACY)))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment