summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Pete Gillin <peteg@google.com> 2020-07-01 10:59:00 +0100
committer Pete Gillin <peteg@google.com> 2020-07-01 11:31:30 +0100
commit40a064238503f0fbe739ce7f1f68f959307c4a0e (patch)
tree7047127ce4d01ec3d2f04153f090ce94fcddd705
parent34753055d1e3df3f6b7a22996f2d499d70e23b36 (diff)
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
-rw-r--r--java/testing.go1
1 files changed, 1 insertions, 0 deletions
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 {