summaryrefslogtreecommitdiff
path: root/golang/golang.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-02-04 16:27:10 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-04 16:27:10 -0800
commit2faf92bd973376053fa0c8386a61e2acc6f0591f (patch)
treeb552cb96e346ccffbed1b04bbf0f0ecb0879ad7b /golang/golang.go
parent4bf1e166bbfbdb20877e21b3b78984f4e4b07a36 (diff)
parent68fb7cb68da47e36d80285e69b1d597ea7d6dbea (diff)
Merge changes I5057c2cc,I83ac66c6 into main
* changes: Fixes for missing rules in m --soong-only Install intermediate file in testcases
Diffstat (limited to 'golang/golang.go')
-rw-r--r--golang/golang.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/golang/golang.go b/golang/golang.go
index 3422f8bdf..9e0744aaf 100644
--- a/golang/golang.go
+++ b/golang/golang.go
@@ -101,7 +101,7 @@ func (g *GoBinary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
// Modules in an unexported namespace have no install rule, only add modules in the exported namespaces
// to the blueprint_tools phony rules.
- if (!ctx.Config().KatiEnabled() || g.ExportedToMake()) && !usedByBootstrap(ctx.ModuleName()) {
+ if g.ExportedToMake() && !usedByBootstrap(ctx.ModuleName()) {
// Don't add the installed file of bootstrap tools to the deps of `blueprint_tools`.
// The install command line will differ from what was used during bootstrap,
// which will cause ninja to rebuild the module on the next run,