release_config: various cleanup
- Parse release_config_map.textproto files only once - Fix inheritance - Sort flag artifacts by flag name - Add --all_make option for testing - Fix value() parsing in crunch_flags Bug: 328495189 Test: manual Change-Id: I577e7fb07171bea9a53d61eaf77ec728b60d7a26
This commit is contained in:
@@ -163,7 +163,7 @@ func ProcessBuildFlags(dir string, namespaceMap map[string]string) error {
|
||||
}
|
||||
|
||||
func ProcessBuildConfigs(dir, name string, paths []string, releaseProto *rc_proto.ReleaseConfig) error {
|
||||
valRegexp, err := regexp.Compile("[[:space:]]+value.\"(?<name>[A-Z_0-9]+)\",[[:space:]]*(?<value>[^,)]*)")
|
||||
valRegexp, err := regexp.Compile("[[:space:]]+value.\"(?<name>[A-Z_0-9]+)\",[[:space:]]*(?<value>(\"[^\"]*\"|[^\",)]*))")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user