diff options
author | 2022-11-28 20:12:03 +0000 | |
---|---|---|
committer | 2022-12-05 22:27:06 +0000 | |
commit | 75e139b50ec439c31ffcde4214f8afec6c73621f (patch) | |
tree | 9dc122b76e8d6a4eaf6796a7856307fad7c86bd7 /java/java_test.go | |
parent | d06db5dd5bba8d10097a2be9ad521eed29b74a7c (diff) |
Register singletons in api_bp2build
Singleton modules are not used in this workspace (they do not implement
`ConvertWithApiBp2build`). However, we still need to add them since
there is a check in `SingletonModuleFactoryAdaptor` that depends on the
singletons being registered. We do this for bp2build as well (see
`RegisterForBazelConversion`)
This was probably always an issue in api_bp2build, but became
incompatible as a side-effect of the refactoring in aosp/2287719
that removed ctx.Register() from the newContext function.
Test: m api_bp2build --skip-soong-tests
Change-Id: I9ba1df2cc1e8ec916635e5280c66f8df68d7e79b
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions