Merge "Refactor ProductConfigProperties to use a struct key instead of an string key with hardcoded patterns."

This commit is contained in:
Treehugger Robot
2021-11-16 04:55:15 +00:00
committed by Gerrit Code Review
4 changed files with 146 additions and 49 deletions

View File

@@ -32,6 +32,10 @@ type properties struct {
Bazel_module bazel.BazelModuleProperties
}
// namespacedVariableProperties is a map from a string representing a Soong
// config variable namespace, like "android" or "vendor_name" to a struct
// pointer representing the soong_config_variables property of a module created
// by a soong_config_module_type or soong_config_module_type_import.
type namespacedVariableProperties map[string]interface{}
// BazelModuleBase contains the property structs with metadata for modules which can be converted to