From 60d430760527d3665160bfa78890b740306b3488 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Mon, 11 Mar 2024 20:35:14 +0000 Subject: [PATCH] Revert "Include all_aconfig_declarations in docs dist" This reverts commit 90c2af97ed756822b885a1b53f86f83927041b52. 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 --- aconfig/all_aconfig_declarations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aconfig/all_aconfig_declarations.go b/aconfig/all_aconfig_declarations.go index e771d0597..72fe4959b 100644 --- a/aconfig/all_aconfig_declarations.go +++ b/aconfig/all_aconfig_declarations.go @@ -89,7 +89,7 @@ func (this *allAconfigDeclarationsSingleton) GenerateBuildActions(ctx android.Si func (this *allAconfigDeclarationsSingleton) MakeVars(ctx android.MakeVarsContext) { 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.intermediateTextProtoPath, "flags.textproto") }