platform_build_soong/sdk
Paul Duffin c059c8c9a0 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
2021-01-21 11:47:32 +00:00
..
Android.bp Soong package structure refactoring 2020-06-01 13:44:48 -07:00
bp.go Handle property structs and BpPropertySets as values to AddProperty. 2020-09-25 00:33:04 +01:00
bp_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
cc_sdk_test.go Always set apex_available in SDK snapshots. 2020-11-04 18:44:14 +00:00
exports.go Restrict SdkMemberTypes that can be used with sdk/sdk_snapshot 2019-12-31 15:08:59 +00:00
exports_test.go Always set apex_available in SDK snapshots. 2020-11-04 18:44:14 +00:00
java_sdk_test.go Add java_boot_libs to sdk 2021-01-15 18:14:10 +00:00
sdk.go Remove AndroidMkExtraFootersFunc entries param. 2020-12-07 10:23:54 -08:00
sdk_test.go Always set apex_available in SDK snapshots. 2020-11-04 18:44:14 +00:00
testing.go Add java.RegisterRequiredBuildComponentsForTest function 2021-01-21 11:47:32 +00:00
update.go Add java_boot_libs to sdk 2021-01-15 18:14:10 +00:00