From 40a064238503f0fbe739ce7f1f68f959307c4a0e Mon Sep 17 00:00:00 2001 From: Pete Gillin Date: Wed, 1 Jul 2020 10:59:00 +0100 Subject: [PATCH] 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 --- java/testing.go | 1 + 1 file changed, 1 insertion(+) diff --git a/java/testing.go b/java/testing.go index 6fc10dae3..f5688e627 100644 --- a/java/testing.go +++ b/java/testing.go @@ -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 {