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
Change-Id: I7bd940e1a8127d954d30c532c74d684a5ba9d33c
Merged-In: I7bd940e1a8127d954d30c532c74d684a5ba9d33c
(cherry picked from commit 13dbaac5b6
)
This commit is contained in:
parent
ff98103505
commit
4fe970f303
|
@ -257,7 +257,7 @@ var (
|
||||||
})
|
})
|
||||||
apiScopeTest = initApiScope(&apiScope{
|
apiScopeTest = initApiScope(&apiScope{
|
||||||
name: "test",
|
name: "test",
|
||||||
extends: apiScopePublic,
|
extends: apiScopeSystem,
|
||||||
legacyEnabledStatus: (*SdkLibrary).generateTestAndSystemScopesByDefault,
|
legacyEnabledStatus: (*SdkLibrary).generateTestAndSystemScopesByDefault,
|
||||||
scopeSpecificProperties: func(module *SdkLibrary) *ApiScopeProperties {
|
scopeSpecificProperties: func(module *SdkLibrary) *ApiScopeProperties {
|
||||||
return &module.sdkLibraryProperties.Test
|
return &module.sdkLibraryProperties.Test
|
||||||
|
|
Loading…
Reference in New Issue