diff options
| author | 2024-09-26 23:53:58 +0000 | |
|---|---|---|
| committer | 2024-09-28 04:36:43 +0000 | |
| commit | 77e27d44efe2b5fd390aaaad00b289996175f3a0 (patch) | |
| tree | ab8eea27677c53d5c5486fc69caf211fc0032352 /java/kotlin_test.go | |
| parent | 22ad6c00c7b5ef51687bcde6fcfe4e7988a16d2c (diff) | |
Find matching variant of `required` for `common_first`
Both 32-bit and 64-bit variants of native deps were getting installed in
Soong-built system image if they were listed in `required` of
`java_binary`.
java_binary(s) have two variants, a "common" and an arch
variant (the first arch). Previously the common variant will create a
dependency to both 32-bit and 64-bit variants of their dependencies.
With this CL, common variant will not create a dependency on required
unless the requested `target` is also the common target.
Test: Ran the filelistdiff tool
Test: go test ./java -run TestNativeRequiredDepOfJavaBinary
Bug: 369678122
Change-Id: Ica97e12eefb45929ca653ec57c3339e4a3b72a76
Diffstat (limited to 'java/kotlin_test.go')
0 files changed, 0 insertions, 0 deletions