aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-10-09 10:16:49 +0100
committerAnton Hansson <hansson@google.com>2020-10-15 20:20:32 +0000
commit21b51f197aba20f262bbb6ea509abbc69ac89025 (patch)
tree21527d7f628fbd37f46d36f12a7ca8f9e80564db
parent6e91aaca0454d5c1d15c2f0a4cfc9ecd08200663 (diff)
downloadsoong-21b51f197aba20f262bbb6ea509abbc69ac89025.tar.gz
Make test api extend system in sdk_library.go
The test stubs for the "main" android API are being changed to incude @SystemApi annotated APIs. Update sdk_library to make modules and optional libraries follow the same principle. Bug: 129133308 Test: presubmit Exempt-From-Owner-Approval: cp Change-Id: I7bd940e1a8127d954d30c532c74d684a5ba9d33c Merged-In: I7bd940e1a8127d954d30c532c74d684a5ba9d33c (cherry picked from commit 13dbaac5b6cc4f135404d2954541fd44b09e89e0) (cherry picked from commit 4fe970f3036b74b7e4a5aeff1dd04a9d28a1355f)
-rw-r--r--java/sdk_library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sdk_library.go b/java/sdk_library.go
index 022c3d740..f26f61c77 100644
--- a/java/sdk_library.go
+++ b/java/sdk_library.go
@@ -251,7 +251,7 @@ var (
})
apiScopeTest = initApiScope(&apiScope{
name: "test",
- extends: apiScopePublic,
+ extends: apiScopeSystem,
legacyEnabledStatus: (*SdkLibrary).generateTestAndSystemScopesByDefault,
scopeSpecificProperties: func(module *SdkLibrary) *ApiScopeProperties {
return &module.sdkLibraryProperties.Test