From 52d398a84197053a624c13a0bc1cfb78df996966 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Tue, 11 Jun 2019 12:31:14 +0100 Subject: Add sdk_version:"none" to replace no_standard_libs:true Where possible this duplicates any tests that use no_standard_libs:true with ones that use sdk_version:"none". If not possible (e.g. in the default targets included in java/testing.go) it switches some to use sdk_version:"none" to ensure that there is no regression in the behavior of no_standard_libs:true. Follow up changes will switch all usages of no_standard_libs:true over to use sdk_version:"none" at which point no_standard_libs will be removed. Bug: 134566750 Test: m droid Change-Id: I5f0fd3daa980f6b223abe454cba7f25a97a39d7a --- java/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/testing.go') diff --git a/java/testing.go b/java/testing.go index a9d4670fc..7cd187164 100644 --- a/java/testing.go +++ b/java/testing.go @@ -54,7 +54,7 @@ func GatherRequiredDepsForTest() string { java_library { name: "%s", srcs: ["a.java"], - no_standard_libs: true, + sdk_version: "none", system_modules: "core-platform-api-stubs-system-modules", } `, extra) -- cgit v1.2.3-59-g8ed1b