vendor: Add qcom platform type to soongs vars
Required for new commits on frameworks/native
* Fix lag during screen recording on some platforms
* Fix screen flickering after disconnecting from Android Auto on some platforms
Change-Id: Ia0ed0bbfda44fb5ccb184ace854ec1bf9a7d819a
diff --git a/build/soong/android/variable.go b/build/soong/android/variable.go
index 5cdcfd7..29247c0 100644
--- a/build/soong/android/variable.go
+++ b/build/soong/android/variable.go
@@ -48,6 +48,26 @@
Cppflags []string
Shared_libs []string
}
+ Uses_qcom_um_family struct {
+ Cflags []string
+ Srcs []string
+ }
+ Uses_qcom_um_3_18_family struct {
+ Header_libs []string
+ Shared_libs []string
+ }
+ Uses_qcom_um_4_4_family struct {
+ Header_libs []string
+ Shared_libs []string
+ }
+ Uses_qcom_um_4_9_family struct {
+ Header_libs []string
+ Shared_libs []string
+ }
+ Uses_qcom_um_4_14_family struct {
+ Header_libs []string
+ Shared_libs []string
+ }
}
type ProductVariables struct {
@@ -68,4 +88,9 @@
Uses_nvidia_enhancements *bool `json:",omitempty"`
Uses_qcom_bsp_legacy *bool `json:",omitempty"`
Uses_qti_camera_device *bool `json:",omitempty"`
+ Uses_qcom_um_family *bool `json:",omitempty"`
+ Uses_qcom_um_3_18_family *bool `json:",omitempty"`
+ Uses_qcom_um_4_4_family *bool `json:",omitempty"`
+ Uses_qcom_um_4_9_family *bool `json:",omitempty"`
+ Uses_qcom_um_4_14_family *bool `json:",omitempty"`
}