Add BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE to BoardConfig

Bug: 175526482
Test: m vendor_property_contexts after making violations
Change-Id: I489312f07e068c3c0e0b7bd6e6c49698707aa9a8
diff --git a/android/config.go b/android/config.go
index a4fe037..9162eaa 100644
--- a/android/config.go
+++ b/android/config.go
@@ -1431,6 +1431,10 @@
 	return uncheckedFinalApiLevel(apiLevel)
 }
 
+func (c *deviceConfig) BuildBrokenVendorPropertyNamespace() bool {
+	return c.config.productVariables.BuildBrokenVendorPropertyNamespace
+}
+
 // The ConfiguredJarList struct provides methods for handling a list of (apex, jar) pairs.
 // Such lists are used in the build system for things like bootclasspath jars or system server jars.
 // The apex part is either an apex name, or a special names "platform" or "system_ext". Jar is a
diff --git a/android/variable.go b/android/variable.go
index 8b04d65..76666c5 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -369,6 +369,8 @@
 	PrebuiltHiddenApiDir *string `json:",omitempty"`
 
 	ShippingApiLevel *string `json:",omitempty"`
+
+	BuildBrokenVendorPropertyNamespace bool `json:",omitempty"`
 }
 
 func boolPtr(v bool) *bool {