Include all_aconfig_declarations in docs dist
Include all_aconfig_declarations in the docs dist directory, in both binary protobuf (for machine consumption) and text protobuf (for human consumption) format. Bug: 324281288 Test: m docs dist && test -e out/dist/flags.pb && test -e out/dist/flags.textproto Change-Id: I5756b913aeb44ee4f3f9ab64ae5038fc64557b5f
This commit is contained in:
@@ -89,7 +89,7 @@ func (this *allAconfigDeclarationsSingleton) GenerateBuildActions(ctx android.Si
|
|||||||
|
|
||||||
func (this *allAconfigDeclarationsSingleton) MakeVars(ctx android.MakeVarsContext) {
|
func (this *allAconfigDeclarationsSingleton) MakeVars(ctx android.MakeVarsContext) {
|
||||||
ctx.DistForGoal("droid", this.intermediateBinaryProtoPath)
|
ctx.DistForGoal("droid", this.intermediateBinaryProtoPath)
|
||||||
for _, goal := range []string{"droid", "sdk"} {
|
for _, goal := range []string{"docs", "droid", "sdk"} {
|
||||||
ctx.DistForGoalWithFilename(goal, this.intermediateBinaryProtoPath, "flags.pb")
|
ctx.DistForGoalWithFilename(goal, this.intermediateBinaryProtoPath, "flags.pb")
|
||||||
ctx.DistForGoalWithFilename(goal, this.intermediateTextProtoPath, "flags.textproto")
|
ctx.DistForGoalWithFilename(goal, this.intermediateTextProtoPath, "flags.textproto")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user