summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-06-14 21:30:38 +0000
committer Spandan Das <spandandas@google.com> 2023-07-11 22:03:48 +0000
commitde623294fe87ca64c8afe3937bb75eabc6bf43cc (patch)
treee67cafc37cde3d187df4f161d9ce99cd833a811d /java/java_test.go
parentea2abba3a90d9459761bb7021995c2c54e34c0b0 (diff)
Partial bp2build conversion of blueprint_go_binary
This module type does not implement android.Module, and therefore we cannot write a conventional bp2build converter for this module type. Instead this has been special-cased inside bp2build/build_conversion.go. There is one major deviation between Soong and Bazel's go_binary/go_library. Soong collects the deps in the transitve closure and puts them on compile/link paths. Bazel OTOH, requires the direct imports to be listed in deps of the binary explicitly (AFAIK). Since bp2build cannot determine the list of direct imports from the list of transitive deps, put all the transitive deps in `deps` Test: unit tests Test: TH Bug: 284483729 Change-Id: I004aaf8607fef1697a0d9e7d018ad657b67778ac
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions