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
Loading
Please register or sign in to comment