Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 00408eab authored by Cole Faust's avatar Cole Faust
Browse files

Remove cross compilation support from go packages

Go packages supported cross-compilation (to linux_musl at least), but
go binaries did not. Go packages also add a reverse dependency onto
the binary packages, which would cause a missing dependency error,
except that all non-primary variants of go modules essentially disable
themselves and reuse outputs from the primary variants. However, in
mac builds, for some reason the primary variant is arm64 but the binary
is only created for x86_64. This causes the missing dependency, but
mac sets AllowMissingDependencies, but the missing dependencies still
cause problems when generating soong documentation.

After we submit this cl, we can potentially make the go modules not
copy outputs from the primary variation, and instead have all variations
work independently.

Bug: 369916167
Test: m soong_docs on mac
Change-Id: I967e63fc16f3b2a5cc1fa00ab62f5626b268c087
parent 13e719c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment