Prepare Soong for switch to stable core/platform API.

This ensures that `m nothing` succeeds even if java/config/config.go
is changed to use `stable.core.platform.api.stubs` and
`stable-core-platform-api-stubs-system-modules` instead of the legacy
versions. (The change to stable cannot be made yet because real
targets depend on APIs only in legacy, but it is useful for the build
system to be ready for this change.)

Bug: 157640067
Test: m nothing (with and without local change mentioned above)
Change-Id: Id7562d8c592551fd0ed2b9849bcf6eb707c2a1d0
This commit is contained in:
Pete Gillin 2020-07-01 10:59:00 +01:00
parent 34753055d1
commit 40a0642385

View file

@ -197,6 +197,7 @@ func GatherRequiredDepsForTest() string {
systemModules := []string{
"core-current-stubs-system-modules",
"legacy-core-platform-api-stubs-system-modules",
"stable-core-platform-api-stubs-system-modules",
}
for _, extra := range systemModules {