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>
diff --git a/build/soong/android/variable.go b/build/soong/android/variable.go
index 4b905d9..cfa5c7d 100644
--- a/build/soong/android/variable.go
+++ b/build/soong/android/variable.go
@@ -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 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"`