summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-01-20 17:13:52 +0000
committer Paul Duffin <paulduffin@google.com> 2021-01-21 11:47:32 +0000
commitc059c8c9a05e28b5d3782464f01c493047a64d21 (patch)
tree6782cb51332ee87f092c4ff984c158bb0a9db8c2 /java/java.go
parentec7cab81f90bde94561f562d9f20ae059c1f5185 (diff)
Add java.RegisterRequiredBuildComponentsForTest function
Insulate tests that exercise code in the java package from having to register the build components provided by the java package by providing a single function that registers them all. This follows the pattern currently used in the cc and rust packages. This change is in preparation for switching the dex_bootjars singleton from a singleton, which does not require a module definition in order to be instantiated, to a singleton module which does. That will require adding a module definition into java.GatherRequiredDepsForTest() and this change ensures that the required components will have been registered in every test. Bug: 177892522 Test: m nothing Change-Id: I6475db8240894947dd07c89a940a3e4f201aa598
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions