diff options
author | 2023-03-21 17:22:42 +0000 | |
---|---|---|
committer | 2023-03-21 17:22:42 +0000 | |
commit | ef5b7e4e36dec796a886fc700e6eee4fb2337894 (patch) | |
tree | 7015e4be80a9d27d79f6acc706f977f0319dbfbe /java/hiddenapi_modular.go | |
parent | 0c7ea9582a2784880d1b15172abecf05b5ebb426 (diff) | |
parent | 626a8ad9348066fdca52aefe25ce004d8ae56e44 (diff) |
Merge "Cleanup hardcoded references to android_*stubs_current"
Diffstat (limited to 'java/hiddenapi_modular.go')
-rw-r--r-- | java/hiddenapi_modular.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/hiddenapi_modular.go b/java/hiddenapi_modular.go index be4a48e5b..e2db0cd6b 100644 --- a/java/hiddenapi_modular.go +++ b/java/hiddenapi_modular.go @@ -236,9 +236,9 @@ func hiddenAPIComputeMonolithicStubLibModules(config android.Config) map[*Hidden testStubModules = append(testStubModules, "sdk_test_current_android") } else { // Use stub modules built from source - publicStubModules = append(publicStubModules, "android_stubs_current") - systemStubModules = append(systemStubModules, "android_system_stubs_current") - testStubModules = append(testStubModules, "android_test_stubs_current") + publicStubModules = append(publicStubModules, android.SdkPublic.JavaLibraryName(config)) + systemStubModules = append(systemStubModules, android.SdkSystem.JavaLibraryName(config)) + testStubModules = append(testStubModules, android.SdkTest.JavaLibraryName(config)) } // We do not have prebuilts of the core platform api yet corePlatformStubModules = append(corePlatformStubModules, "legacy.core.platform.api.stubs") |