Revert "Include all_aconfig_declarations in docs dist"

This reverts commit 90c2af97ed.

Reason for revert: Includes too many flags.  The on-device copy of aconfig declarations must be **only** those that are used by code on the device.  `all_aconfig_declarations` is every aconfig flag in the source tree, and cannot be placed on the device.

Change-Id: Id7ac61c0805825b4ca27fffe84a48f95e3c682b2
This commit is contained in:
LaMont Jones
2024-03-11 20:35:14 +00:00
committed by Gerrit Code Review
parent 90c2af97ed
commit 60d4307605

View File

@@ -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{"docs", "droid", "sdk"} { for _, goal := range []string{"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")
} }