diff options
author | MÃ¥rten Kongstad <amhk@google.com> | 2024-02-26 07:12:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-26 07:12:36 +0000 |
commit | 50bfc3489416c92b59c305ff639f4855b346b3a2 (patch) | |
tree | 7ff35c127f66e4b1a17fb4fe3fe972fad250e443 | |
parent | 52e5e6b1a73c56837f3ae3398e41ee9d9badc7a5 (diff) | |
parent | c61353222c43d499f447cb9ba855b6689435f022 (diff) | |
download | soong-50bfc3489416c92b59c305ff639f4855b346b3a2.tar.gz |
Merge "Include all_aconfig_declarations in droid dist" into main
-rw-r--r-- | aconfig/all_aconfig_declarations.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/aconfig/all_aconfig_declarations.go b/aconfig/all_aconfig_declarations.go index 3d9663c1d..72fe4959b 100644 --- a/aconfig/all_aconfig_declarations.go +++ b/aconfig/all_aconfig_declarations.go @@ -89,6 +89,8 @@ func (this *allAconfigDeclarationsSingleton) GenerateBuildActions(ctx android.Si func (this *allAconfigDeclarationsSingleton) MakeVars(ctx android.MakeVarsContext) { ctx.DistForGoal("droid", this.intermediateBinaryProtoPath) - ctx.DistForGoalWithFilename("sdk", this.intermediateBinaryProtoPath, "flags.pb") - ctx.DistForGoalWithFilename("sdk", this.intermediateTextProtoPath, "flags.textproto") + for _, goal := range []string{"droid", "sdk"} { + ctx.DistForGoalWithFilename(goal, this.intermediateBinaryProtoPath, "flags.pb") + ctx.DistForGoalWithFilename(goal, this.intermediateTextProtoPath, "flags.textproto") + } } |