Merge changes I708c37f9,I577e7fb0 into main
* changes: Write per-partition build_flags.json release_config: various cleanup
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 {
|
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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@@ -33,6 +33,7 @@ func main() {
|
|||||||
var configs *rc_lib.ReleaseConfigs
|
var configs *rc_lib.ReleaseConfigs
|
||||||
var json, pb, textproto bool
|
var json, pb, textproto bool
|
||||||
var product string
|
var product string
|
||||||
|
var allMake bool
|
||||||
|
|
||||||
defaultRelease := os.Getenv("TARGET_RELEASE")
|
defaultRelease := os.Getenv("TARGET_RELEASE")
|
||||||
if defaultRelease == "" {
|
if defaultRelease == "" {
|
||||||
@@ -48,6 +49,7 @@ func main() {
|
|||||||
flag.BoolVar(&textproto, "textproto", true, "write artifacts as text protobuf")
|
flag.BoolVar(&textproto, "textproto", true, "write artifacts as text protobuf")
|
||||||
flag.BoolVar(&json, "json", true, "write artifacts as json")
|
flag.BoolVar(&json, "json", true, "write artifacts as json")
|
||||||
flag.BoolVar(&pb, "pb", true, "write artifacts as binary protobuf")
|
flag.BoolVar(&pb, "pb", true, "write artifacts as binary protobuf")
|
||||||
|
flag.BoolVar(&allMake, "all_make", true, "write makefiles for all release configs")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
if quiet {
|
if quiet {
|
||||||
@@ -70,11 +72,26 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err = config.WritePartitionBuildFlags(outputDir, product, targetRelease); err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if allMake {
|
||||||
|
for k, _ := range configs.ReleaseConfigs {
|
||||||
|
makefilePath := filepath.Join(outputDir, fmt.Sprintf("release_config-%s-%s.mk", product, k))
|
||||||
|
err = configs.WriteMakefile(makefilePath, k)
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
makefilePath := filepath.Join(outputDir, fmt.Sprintf("release_config-%s-%s.mk", product, releaseName))
|
makefilePath := filepath.Join(outputDir, fmt.Sprintf("release_config-%s-%s.mk", product, releaseName))
|
||||||
err = configs.WriteMakefile(makefilePath, targetRelease)
|
err = configs.WriteMakefile(makefilePath, targetRelease)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if json {
|
if json {
|
||||||
err = configs.WriteArtifact(outputDir, product, "json")
|
err = configs.WriteArtifact(outputDir, product, "json")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@@ -129,3 +129,14 @@ func (fa *FlagArtifact) Marshal() (*rc_proto.FlagArtifact, error) {
|
|||||||
Traces: fa.Traces,
|
Traces: fa.Traces,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Marshal the FlagArtifact without Traces.
|
||||||
|
func (fa *FlagArtifact) MarshalWithoutTraces() (*rc_proto.FlagArtifact, error) {
|
||||||
|
if fa.Redacted {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
return &rc_proto.FlagArtifact{
|
||||||
|
FlagDeclaration: fa.FlagDeclaration,
|
||||||
|
Value: fa.Value,
|
||||||
|
}, nil
|
||||||
|
}
|
||||||
|
@@ -15,7 +15,11 @@
|
|||||||
package release_config_lib
|
package release_config_lib
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"cmp"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"path/filepath"
|
||||||
|
"slices"
|
||||||
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
rc_proto "android/soong/cmd/release_config/release_config_proto"
|
rc_proto "android/soong/cmd/release_config/release_config_proto"
|
||||||
@@ -66,12 +70,31 @@ type ReleaseConfig struct {
|
|||||||
|
|
||||||
// We have begun compiling this release config.
|
// We have begun compiling this release config.
|
||||||
compileInProgress bool
|
compileInProgress bool
|
||||||
|
|
||||||
|
// Partitioned artifacts for {partition}/etc/build_flags.json
|
||||||
|
PartitionBuildFlags map[string]*rc_proto.FlagArtifacts
|
||||||
}
|
}
|
||||||
|
|
||||||
func ReleaseConfigFactory(name string, index int) (c *ReleaseConfig) {
|
func ReleaseConfigFactory(name string, index int) (c *ReleaseConfig) {
|
||||||
return &ReleaseConfig{Name: name, DeclarationIndex: index}
|
return &ReleaseConfig{Name: name, DeclarationIndex: index}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (config *ReleaseConfig) InheritConfig(iConfig *ReleaseConfig) error {
|
||||||
|
for _, fa := range iConfig.FlagArtifacts {
|
||||||
|
name := *fa.FlagDeclaration.Name
|
||||||
|
myFa, ok := config.FlagArtifacts[name]
|
||||||
|
if !ok {
|
||||||
|
return fmt.Errorf("Could not inherit flag %s from %s", name, iConfig.Name)
|
||||||
|
}
|
||||||
|
if len(fa.Traces) > 1 {
|
||||||
|
// A value was assigned. Set our value.
|
||||||
|
myFa.Traces = append(myFa.Traces, fa.Traces[1:]...)
|
||||||
|
myFa.Value = fa.Value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
func (config *ReleaseConfig) GenerateReleaseConfig(configs *ReleaseConfigs) error {
|
func (config *ReleaseConfig) GenerateReleaseConfig(configs *ReleaseConfigs) error {
|
||||||
if config.ReleaseConfigArtifact != nil {
|
if config.ReleaseConfigArtifact != nil {
|
||||||
return nil
|
return nil
|
||||||
@@ -82,6 +105,30 @@ func (config *ReleaseConfig) GenerateReleaseConfig(configs *ReleaseConfigs) erro
|
|||||||
config.compileInProgress = true
|
config.compileInProgress = true
|
||||||
isRoot := config.Name == "root"
|
isRoot := config.Name == "root"
|
||||||
|
|
||||||
|
// Start with only the flag declarations.
|
||||||
|
config.FlagArtifacts = configs.FlagArtifacts.Clone()
|
||||||
|
// Add RELEASE_ACONFIG_VALUE_SETS
|
||||||
|
workflowManual := rc_proto.Workflow(rc_proto.Workflow_MANUAL)
|
||||||
|
container := rc_proto.Container(rc_proto.Container_ALL)
|
||||||
|
releaseAconfigValueSets := FlagArtifact{
|
||||||
|
FlagDeclaration: &rc_proto.FlagDeclaration{
|
||||||
|
Name: proto.String("RELEASE_ACONFIG_VALUE_SETS"),
|
||||||
|
Namespace: proto.String("android_UNKNOWN"),
|
||||||
|
Description: proto.String("Aconfig value sets assembled by release-config"),
|
||||||
|
Workflow: &workflowManual,
|
||||||
|
Container: &container,
|
||||||
|
Value: &rc_proto.Value{Val: &rc_proto.Value_StringValue{""}},
|
||||||
|
},
|
||||||
|
DeclarationIndex: -1,
|
||||||
|
Traces: []*rc_proto.Tracepoint{
|
||||||
|
&rc_proto.Tracepoint{
|
||||||
|
Source: proto.String("$release-config"),
|
||||||
|
Value: &rc_proto.Value{Val: &rc_proto.Value_StringValue{""}},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
config.FlagArtifacts["RELEASE_ACONFIG_VALUE_SETS"] = &releaseAconfigValueSets
|
||||||
|
|
||||||
// Generate any configs we need to inherit. This will detect loops in
|
// Generate any configs we need to inherit. This will detect loops in
|
||||||
// the config.
|
// the config.
|
||||||
contributionsToApply := []*ReleaseConfigContribution{}
|
contributionsToApply := []*ReleaseConfigContribution{}
|
||||||
@@ -103,33 +150,17 @@ func (config *ReleaseConfig) GenerateReleaseConfig(configs *ReleaseConfigs) erro
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iConfig.GenerateReleaseConfig(configs)
|
iConfig.GenerateReleaseConfig(configs)
|
||||||
contributionsToApply = append(contributionsToApply, iConfig.Contributions...)
|
if err := config.InheritConfig(iConfig); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
contributionsToApply = append(contributionsToApply, config.Contributions...)
|
contributionsToApply = append(contributionsToApply, config.Contributions...)
|
||||||
|
|
||||||
myAconfigValueSets := []string{}
|
myAconfigValueSets := strings.Split(releaseAconfigValueSets.Value.GetStringValue(), " ")
|
||||||
myAconfigValueSetsMap := map[string]bool{}
|
myAconfigValueSetsMap := map[string]bool{}
|
||||||
myFlags := configs.FlagArtifacts.Clone()
|
for _, v := range myAconfigValueSets {
|
||||||
workflowManual := rc_proto.Workflow(rc_proto.Workflow_MANUAL)
|
myAconfigValueSetsMap[v] = true
|
||||||
container := rc_proto.Container(rc_proto.Container_ALL)
|
|
||||||
releaseAconfigValueSets := FlagArtifact{
|
|
||||||
FlagDeclaration: &rc_proto.FlagDeclaration{
|
|
||||||
Name: proto.String("RELEASE_ACONFIG_VALUE_SETS"),
|
|
||||||
Namespace: proto.String("android_UNKNOWN"),
|
|
||||||
Description: proto.String("Aconfig value sets assembled by release-config"),
|
|
||||||
Workflow: &workflowManual,
|
|
||||||
Container: &container,
|
|
||||||
Value: &rc_proto.Value{Val: &rc_proto.Value_StringValue{""}},
|
|
||||||
},
|
|
||||||
DeclarationIndex: -1,
|
|
||||||
Traces: []*rc_proto.Tracepoint{
|
|
||||||
&rc_proto.Tracepoint{
|
|
||||||
Source: proto.String("$release-config"),
|
|
||||||
Value: &rc_proto.Value{Val: &rc_proto.Value_StringValue{""}},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
myFlags["RELEASE_ACONFIG_VALUE_SETS"] = &releaseAconfigValueSets
|
|
||||||
myDirsMap := make(map[int]bool)
|
myDirsMap := make(map[int]bool)
|
||||||
for _, contrib := range contributionsToApply {
|
for _, contrib := range contributionsToApply {
|
||||||
if len(contrib.proto.AconfigValueSets) > 0 {
|
if len(contrib.proto.AconfigValueSets) > 0 {
|
||||||
@@ -151,7 +182,7 @@ func (config *ReleaseConfig) GenerateReleaseConfig(configs *ReleaseConfigs) erro
|
|||||||
myDirsMap[contrib.DeclarationIndex] = true
|
myDirsMap[contrib.DeclarationIndex] = true
|
||||||
for _, value := range contrib.FlagValues {
|
for _, value := range contrib.FlagValues {
|
||||||
name := *value.proto.Name
|
name := *value.proto.Name
|
||||||
fa, ok := myFlags[name]
|
fa, ok := config.FlagArtifacts[name]
|
||||||
if !ok {
|
if !ok {
|
||||||
return fmt.Errorf("Setting value for undefined flag %s in %s\n", name, value.path)
|
return fmt.Errorf("Setting value for undefined flag %s in %s\n", name, value.path)
|
||||||
}
|
}
|
||||||
@@ -168,11 +199,11 @@ func (config *ReleaseConfig) GenerateReleaseConfig(configs *ReleaseConfigs) erro
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if fa.Redacted {
|
if fa.Redacted {
|
||||||
delete(myFlags, name)
|
delete(config.FlagArtifacts, name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
releaseAconfigValueSets.Value = &rc_proto.Value{Val: &rc_proto.Value_StringValue{strings.Join(myAconfigValueSets, " ")}}
|
releaseAconfigValueSets.Value = &rc_proto.Value{Val: &rc_proto.Value_StringValue{strings.TrimSpace(strings.Join(myAconfigValueSets, " "))}}
|
||||||
|
|
||||||
directories := []string{}
|
directories := []string{}
|
||||||
for idx, confDir := range configs.configDirs {
|
for idx, confDir := range configs.configDirs {
|
||||||
@@ -181,13 +212,46 @@ func (config *ReleaseConfig) GenerateReleaseConfig(configs *ReleaseConfigs) erro
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
config.FlagArtifacts = myFlags
|
// Now build the per-partition artifacts
|
||||||
|
config.PartitionBuildFlags = make(map[string]*rc_proto.FlagArtifacts)
|
||||||
|
addPartitionArtifact := func(container string, artifact *rc_proto.FlagArtifact) {
|
||||||
|
if _, ok := config.PartitionBuildFlags[container]; !ok {
|
||||||
|
config.PartitionBuildFlags[container] = &rc_proto.FlagArtifacts{}
|
||||||
|
}
|
||||||
|
config.PartitionBuildFlags[container].FlagArtifacts = append(config.PartitionBuildFlags[container].FlagArtifacts, artifact)
|
||||||
|
}
|
||||||
|
for _, v := range config.FlagArtifacts {
|
||||||
|
container := strings.ToLower(rc_proto.Container_name[int32(v.FlagDeclaration.GetContainer())])
|
||||||
|
artifact, err := v.MarshalWithoutTraces()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
switch container {
|
||||||
|
case "all":
|
||||||
|
for cVal, cName := range rc_proto.Container_name {
|
||||||
|
// Skip unspecified, and "ALL", but place the flag in the rest.
|
||||||
|
if cVal == 0 || cName == "ALL" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
cName = strings.ToLower(cName)
|
||||||
|
addPartitionArtifact(cName, artifact)
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
addPartitionArtifact(container, artifact)
|
||||||
|
}
|
||||||
|
}
|
||||||
config.ReleaseConfigArtifact = &rc_proto.ReleaseConfigArtifact{
|
config.ReleaseConfigArtifact = &rc_proto.ReleaseConfigArtifact{
|
||||||
Name: proto.String(config.Name),
|
Name: proto.String(config.Name),
|
||||||
OtherNames: config.OtherNames,
|
OtherNames: config.OtherNames,
|
||||||
FlagArtifacts: func() []*rc_proto.FlagArtifact {
|
FlagArtifacts: func() []*rc_proto.FlagArtifact {
|
||||||
ret := []*rc_proto.FlagArtifact{}
|
ret := []*rc_proto.FlagArtifact{}
|
||||||
for _, flag := range myFlags {
|
flagNames := []string{}
|
||||||
|
for k := range config.FlagArtifacts {
|
||||||
|
flagNames = append(flagNames, k)
|
||||||
|
}
|
||||||
|
sort.Strings(flagNames)
|
||||||
|
for _, flagName := range flagNames {
|
||||||
|
flag := config.FlagArtifacts[flagName]
|
||||||
ret = append(ret, &rc_proto.FlagArtifact{
|
ret = append(ret, &rc_proto.FlagArtifact{
|
||||||
FlagDeclaration: flag.FlagDeclaration,
|
FlagDeclaration: flag.FlagDeclaration,
|
||||||
Traces: flag.Traces,
|
Traces: flag.Traces,
|
||||||
@@ -204,3 +268,16 @@ func (config *ReleaseConfig) GenerateReleaseConfig(configs *ReleaseConfigs) erro
|
|||||||
config.compileInProgress = false
|
config.compileInProgress = false
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (config *ReleaseConfig) WritePartitionBuildFlags(outDir, product, targetRelease string) error {
|
||||||
|
var err error
|
||||||
|
for partition, flags := range config.PartitionBuildFlags {
|
||||||
|
slices.SortFunc(flags.FlagArtifacts, func(a, b *rc_proto.FlagArtifact) int {
|
||||||
|
return cmp.Compare(*a.FlagDeclaration.Name, *b.FlagDeclaration.Name)
|
||||||
|
})
|
||||||
|
if err = WriteMessage(filepath.Join(outDir, fmt.Sprintf("build_flags_%s-%s-%s.json", partition, config.Name, product)), flags); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
@@ -372,9 +372,14 @@ func ReadReleaseConfigMaps(releaseConfigMapPaths StringList, targetRelease strin
|
|||||||
}
|
}
|
||||||
|
|
||||||
configs := ReleaseConfigsFactory()
|
configs := ReleaseConfigsFactory()
|
||||||
|
mapsRead := make(map[string]bool)
|
||||||
for idx, releaseConfigMapPath := range releaseConfigMapPaths {
|
for idx, releaseConfigMapPath := range releaseConfigMapPaths {
|
||||||
// Maintain an ordered list of release config directories.
|
// Maintain an ordered list of release config directories.
|
||||||
configDir := filepath.Dir(releaseConfigMapPath)
|
configDir := filepath.Dir(releaseConfigMapPath)
|
||||||
|
if mapsRead[configDir] {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
mapsRead[configDir] = true
|
||||||
configs.configDirIndexes[configDir] = idx
|
configs.configDirIndexes[configDir] = idx
|
||||||
configs.configDirs = append(configs.configDirs, configDir)
|
configs.configDirs = append(configs.configDirs, configDir)
|
||||||
err = configs.LoadReleaseConfigMap(releaseConfigMapPath, idx)
|
err = configs.LoadReleaseConfigMap(releaseConfigMapPath, idx)
|
||||||
|
@@ -153,6 +153,54 @@ func (x *FlagArtifact) GetTraces() []*Tracepoint {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type FlagArtifacts struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
// The artifacts
|
||||||
|
FlagArtifacts []*FlagArtifact `protobuf:"bytes,1,rep,name=flag_artifacts,json=flagArtifacts" json:"flag_artifacts,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FlagArtifacts) Reset() {
|
||||||
|
*x = FlagArtifacts{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_build_flags_out_proto_msgTypes[2]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FlagArtifacts) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*FlagArtifacts) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *FlagArtifacts) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_build_flags_out_proto_msgTypes[2]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use FlagArtifacts.ProtoReflect.Descriptor instead.
|
||||||
|
func (*FlagArtifacts) Descriptor() ([]byte, []int) {
|
||||||
|
return file_build_flags_out_proto_rawDescGZIP(), []int{2}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *FlagArtifacts) GetFlagArtifacts() []*FlagArtifact {
|
||||||
|
if x != nil {
|
||||||
|
return x.FlagArtifacts
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type ReleaseConfigArtifact struct {
|
type ReleaseConfigArtifact struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -179,7 +227,7 @@ type ReleaseConfigArtifact struct {
|
|||||||
func (x *ReleaseConfigArtifact) Reset() {
|
func (x *ReleaseConfigArtifact) Reset() {
|
||||||
*x = ReleaseConfigArtifact{}
|
*x = ReleaseConfigArtifact{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_build_flags_out_proto_msgTypes[2]
|
mi := &file_build_flags_out_proto_msgTypes[3]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -192,7 +240,7 @@ func (x *ReleaseConfigArtifact) String() string {
|
|||||||
func (*ReleaseConfigArtifact) ProtoMessage() {}
|
func (*ReleaseConfigArtifact) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ReleaseConfigArtifact) ProtoReflect() protoreflect.Message {
|
func (x *ReleaseConfigArtifact) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_build_flags_out_proto_msgTypes[2]
|
mi := &file_build_flags_out_proto_msgTypes[3]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -205,7 +253,7 @@ func (x *ReleaseConfigArtifact) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ReleaseConfigArtifact.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ReleaseConfigArtifact.ProtoReflect.Descriptor instead.
|
||||||
func (*ReleaseConfigArtifact) Descriptor() ([]byte, []int) {
|
func (*ReleaseConfigArtifact) Descriptor() ([]byte, []int) {
|
||||||
return file_build_flags_out_proto_rawDescGZIP(), []int{2}
|
return file_build_flags_out_proto_rawDescGZIP(), []int{3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ReleaseConfigArtifact) GetName() string {
|
func (x *ReleaseConfigArtifact) GetName() string {
|
||||||
@@ -266,7 +314,7 @@ type ReleaseConfigsArtifact struct {
|
|||||||
func (x *ReleaseConfigsArtifact) Reset() {
|
func (x *ReleaseConfigsArtifact) Reset() {
|
||||||
*x = ReleaseConfigsArtifact{}
|
*x = ReleaseConfigsArtifact{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_build_flags_out_proto_msgTypes[3]
|
mi := &file_build_flags_out_proto_msgTypes[4]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -279,7 +327,7 @@ func (x *ReleaseConfigsArtifact) String() string {
|
|||||||
func (*ReleaseConfigsArtifact) ProtoMessage() {}
|
func (*ReleaseConfigsArtifact) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ReleaseConfigsArtifact) ProtoReflect() protoreflect.Message {
|
func (x *ReleaseConfigsArtifact) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_build_flags_out_proto_msgTypes[3]
|
mi := &file_build_flags_out_proto_msgTypes[4]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -292,7 +340,7 @@ func (x *ReleaseConfigsArtifact) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ReleaseConfigsArtifact.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ReleaseConfigsArtifact.ProtoReflect.Descriptor instead.
|
||||||
func (*ReleaseConfigsArtifact) Descriptor() ([]byte, []int) {
|
func (*ReleaseConfigsArtifact) Descriptor() ([]byte, []int) {
|
||||||
return file_build_flags_out_proto_rawDescGZIP(), []int{3}
|
return file_build_flags_out_proto_rawDescGZIP(), []int{4}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ReleaseConfigsArtifact) GetReleaseConfig() *ReleaseConfigArtifact {
|
func (x *ReleaseConfigsArtifact) GetReleaseConfig() *ReleaseConfigArtifact {
|
||||||
@@ -344,58 +392,64 @@ var file_build_flags_out_proto_rawDesc = []byte{
|
|||||||
0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69,
|
0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69,
|
||||||
0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||||||
0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x70, 0x6f, 0x69, 0x6e,
|
0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x70, 0x6f, 0x69, 0x6e,
|
||||||
0x74, 0x52, 0x06, 0x74, 0x72, 0x61, 0x63, 0x65, 0x73, 0x22, 0x8e, 0x02, 0x0a, 0x17, 0x72, 0x65,
|
0x74, 0x52, 0x06, 0x74, 0x72, 0x61, 0x63, 0x65, 0x73, 0x22, 0x64, 0x0a, 0x0e, 0x66, 0x6c, 0x61,
|
||||||
0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x61, 0x72, 0x74,
|
0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x66,
|
||||||
0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
0x6c, 0x61, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x74, 0x68,
|
0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65,
|
||||||
0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a,
|
0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f,
|
||||||
0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x66, 0x6c,
|
0x74, 0x6f, 0x2e, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
|
||||||
0x61, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03,
|
0x52, 0x0d, 0x66, 0x6c, 0x61, 0x67, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x22,
|
||||||
0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c,
|
0x8e, 0x02, 0x0a, 0x17, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
|
||||||
0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74,
|
0x69, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||||
0x6f, 0x2e, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52,
|
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||||
0x0d, 0x66, 0x6c, 0x61, 0x67, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x12, 0x2c,
|
0x1f, 0x0a, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02,
|
||||||
0x0a, 0x12, 0x61, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73,
|
||||||
0x73, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x61, 0x63, 0x6f, 0x6e,
|
0x12, 0x52, 0x0a, 0x0e, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
|
||||||
0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08,
|
0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f,
|
||||||
0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08,
|
0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||||||
0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x72, 0x65,
|
0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x61, 0x72, 0x74,
|
||||||
0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x64,
|
0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0d, 0x66, 0x6c, 0x61, 0x67, 0x41, 0x72, 0x74, 0x69, 0x66,
|
||||||
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0xe8, 0x03, 0x0a, 0x18, 0x72,
|
0x61, 0x63, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f,
|
||||||
0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x5f, 0x61,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
|
||||||
0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x5c, 0x0a, 0x0e, 0x72, 0x65, 0x6c, 0x65, 0x61,
|
0x52, 0x10, 0x61, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x65,
|
||||||
0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x73, 0x18, 0x05,
|
||||||
0x35, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x68, 0x65, 0x72, 0x69, 0x74, 0x73, 0x12, 0x20,
|
||||||
0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72,
|
0x0a, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20,
|
||||||
0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x61, 0x72,
|
0x03, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73,
|
||||||
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43,
|
0x22, 0xe8, 0x03, 0x0a, 0x18, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
|
||||||
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x69, 0x0a, 0x15, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x72,
|
0x66, 0x69, 0x67, 0x73, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x5c, 0x0a,
|
||||||
0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x02,
|
0x0e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
|
||||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72,
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e,
|
||||||
0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72,
|
0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70,
|
||||||
0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
|
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
|
||||||
0x69, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x13, 0x6f, 0x74, 0x68,
|
0x66, 0x69, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x0d, 0x72, 0x65,
|
||||||
0x65, 0x72, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
|
0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x69, 0x0a, 0x15, 0x6f,
|
||||||
0x12, 0x87, 0x01, 0x0a, 0x17, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
|
0x74, 0x68, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
|
||||||
0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x03, 0x20, 0x03,
|
0x66, 0x69, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x61, 0x6e, 0x64,
|
||||||
0x28, 0x0b, 0x32, 0x50, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c,
|
0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e,
|
||||||
0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74,
|
0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,
|
||||||
0x6f, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
|
||||||
0x73, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61,
|
0x74, 0x52, 0x13, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43,
|
||||||
0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x73, 0x4d, 0x61, 0x70, 0x45,
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x87, 0x01, 0x0a, 0x17, 0x72, 0x65, 0x6c, 0x65, 0x61,
|
||||||
0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e,
|
0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x6d,
|
||||||
0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x73, 0x4d, 0x61, 0x70, 0x1a, 0x79, 0x0a, 0x19, 0x52, 0x65,
|
0x61, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f,
|
||||||
0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x73, 0x4d,
|
|
||||||
0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x46, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
||||||
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f,
|
|
||||||
0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||||||
0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f,
|
0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f,
|
||||||
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
|
||||||
0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x33, 0x5a, 0x31, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64,
|
0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61,
|
||||||
0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63,
|
0x70, 0x73, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x72, 0x65, 0x6c, 0x65,
|
||||||
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f,
|
0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x61, 0x70, 0x73, 0x4d, 0x61, 0x70,
|
||||||
0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
0x1a, 0x79, 0x0a, 0x19, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||||||
|
0x67, 0x4d, 0x61, 0x70, 0x73, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||||
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
||||||
|
0x46, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30,
|
||||||
|
0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,
|
||||||
|
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x65,
|
||||||
|
0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6d, 0x61, 0x70,
|
||||||
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x33, 0x5a, 0x31, 0x61,
|
||||||
|
0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2f, 0x73, 0x6f, 0x6f, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x6c,
|
||||||
|
0x65, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x65, 0x6c, 0x65,
|
||||||
|
0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -410,32 +464,34 @@ func file_build_flags_out_proto_rawDescGZIP() []byte {
|
|||||||
return file_build_flags_out_proto_rawDescData
|
return file_build_flags_out_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_build_flags_out_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
var file_build_flags_out_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||||
var file_build_flags_out_proto_goTypes = []interface{}{
|
var file_build_flags_out_proto_goTypes = []interface{}{
|
||||||
(*Tracepoint)(nil), // 0: android.release_config_proto.tracepoint
|
(*Tracepoint)(nil), // 0: android.release_config_proto.tracepoint
|
||||||
(*FlagArtifact)(nil), // 1: android.release_config_proto.flag_artifact
|
(*FlagArtifact)(nil), // 1: android.release_config_proto.flag_artifact
|
||||||
(*ReleaseConfigArtifact)(nil), // 2: android.release_config_proto.release_config_artifact
|
(*FlagArtifacts)(nil), // 2: android.release_config_proto.flag_artifacts
|
||||||
(*ReleaseConfigsArtifact)(nil), // 3: android.release_config_proto.release_configs_artifact
|
(*ReleaseConfigArtifact)(nil), // 3: android.release_config_proto.release_config_artifact
|
||||||
nil, // 4: android.release_config_proto.release_configs_artifact.ReleaseConfigMapsMapEntry
|
(*ReleaseConfigsArtifact)(nil), // 4: android.release_config_proto.release_configs_artifact
|
||||||
(*Value)(nil), // 5: android.release_config_proto.value
|
nil, // 5: android.release_config_proto.release_configs_artifact.ReleaseConfigMapsMapEntry
|
||||||
(*FlagDeclaration)(nil), // 6: android.release_config_proto.flag_declaration
|
(*Value)(nil), // 6: android.release_config_proto.value
|
||||||
(*ReleaseConfigMap)(nil), // 7: android.release_config_proto.release_config_map
|
(*FlagDeclaration)(nil), // 7: android.release_config_proto.flag_declaration
|
||||||
|
(*ReleaseConfigMap)(nil), // 8: android.release_config_proto.release_config_map
|
||||||
}
|
}
|
||||||
var file_build_flags_out_proto_depIdxs = []int32{
|
var file_build_flags_out_proto_depIdxs = []int32{
|
||||||
5, // 0: android.release_config_proto.tracepoint.value:type_name -> android.release_config_proto.value
|
6, // 0: android.release_config_proto.tracepoint.value:type_name -> android.release_config_proto.value
|
||||||
6, // 1: android.release_config_proto.flag_artifact.flag_declaration:type_name -> android.release_config_proto.flag_declaration
|
7, // 1: android.release_config_proto.flag_artifact.flag_declaration:type_name -> android.release_config_proto.flag_declaration
|
||||||
5, // 2: android.release_config_proto.flag_artifact.value:type_name -> android.release_config_proto.value
|
6, // 2: android.release_config_proto.flag_artifact.value:type_name -> android.release_config_proto.value
|
||||||
0, // 3: android.release_config_proto.flag_artifact.traces:type_name -> android.release_config_proto.tracepoint
|
0, // 3: android.release_config_proto.flag_artifact.traces:type_name -> android.release_config_proto.tracepoint
|
||||||
1, // 4: android.release_config_proto.release_config_artifact.flag_artifacts:type_name -> android.release_config_proto.flag_artifact
|
1, // 4: android.release_config_proto.flag_artifacts.flag_artifacts:type_name -> android.release_config_proto.flag_artifact
|
||||||
2, // 5: android.release_config_proto.release_configs_artifact.release_config:type_name -> android.release_config_proto.release_config_artifact
|
1, // 5: android.release_config_proto.release_config_artifact.flag_artifacts:type_name -> android.release_config_proto.flag_artifact
|
||||||
2, // 6: android.release_config_proto.release_configs_artifact.other_release_configs:type_name -> android.release_config_proto.release_config_artifact
|
3, // 6: android.release_config_proto.release_configs_artifact.release_config:type_name -> android.release_config_proto.release_config_artifact
|
||||||
4, // 7: android.release_config_proto.release_configs_artifact.release_config_maps_map:type_name -> android.release_config_proto.release_configs_artifact.ReleaseConfigMapsMapEntry
|
3, // 7: android.release_config_proto.release_configs_artifact.other_release_configs:type_name -> android.release_config_proto.release_config_artifact
|
||||||
7, // 8: android.release_config_proto.release_configs_artifact.ReleaseConfigMapsMapEntry.value:type_name -> android.release_config_proto.release_config_map
|
5, // 8: android.release_config_proto.release_configs_artifact.release_config_maps_map:type_name -> android.release_config_proto.release_configs_artifact.ReleaseConfigMapsMapEntry
|
||||||
9, // [9:9] is the sub-list for method output_type
|
8, // 9: android.release_config_proto.release_configs_artifact.ReleaseConfigMapsMapEntry.value:type_name -> android.release_config_proto.release_config_map
|
||||||
9, // [9:9] is the sub-list for method input_type
|
10, // [10:10] is the sub-list for method output_type
|
||||||
9, // [9:9] is the sub-list for extension type_name
|
10, // [10:10] is the sub-list for method input_type
|
||||||
9, // [9:9] is the sub-list for extension extendee
|
10, // [10:10] is the sub-list for extension type_name
|
||||||
0, // [0:9] is the sub-list for field type_name
|
10, // [10:10] is the sub-list for extension extendee
|
||||||
|
0, // [0:10] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_build_flags_out_proto_init() }
|
func init() { file_build_flags_out_proto_init() }
|
||||||
@@ -470,7 +526,7 @@ func file_build_flags_out_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_build_flags_out_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
file_build_flags_out_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ReleaseConfigArtifact); i {
|
switch v := v.(*FlagArtifacts); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -482,6 +538,18 @@ func file_build_flags_out_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_build_flags_out_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
file_build_flags_out_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*ReleaseConfigArtifact); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_build_flags_out_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*ReleaseConfigsArtifact); i {
|
switch v := v.(*ReleaseConfigsArtifact); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -500,7 +568,7 @@ func file_build_flags_out_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_build_flags_out_proto_rawDesc,
|
RawDescriptor: file_build_flags_out_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 5,
|
NumMessages: 6,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
@@ -52,6 +52,11 @@ message flag_artifact {
|
|||||||
repeated tracepoint traces = 8;
|
repeated tracepoint traces = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message flag_artifacts {
|
||||||
|
// The artifacts
|
||||||
|
repeated flag_artifact flag_artifacts = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message release_config_artifact {
|
message release_config_artifact {
|
||||||
// The name of the release config.
|
// The name of the release config.
|
||||||
// See # name for format detail
|
// See # name for format detail
|
||||||
|
Reference in New Issue
Block a user