diff options
author | 2021-05-14 13:04:04 +0100 | |
---|---|---|
committer | 2021-05-14 15:57:10 +0100 | |
commit | afaa47c74afff8be502b6ba8d0139abfc4f5135d (patch) | |
tree | 0145880fc0ab0461b762b6f04615c36dc77c9dc0 /java/sdk_library.go | |
parent | 537ea3d04cf9587809b832b11c9830c433dc8267 (diff) |
Stop generating unnecessary hidden API rules
The rules to extract hidden API information from an individual module
in order to create module specific files are no longer necessary as
the monolithic files are created directly from the module's class jars
and not the module specific files.
Bug: 179354495
Test: verified that the monolithic out/soong/hiddenapi/... files are
unchanged by this change
Change-Id: I573ac17f3ea5da5a2a7e4f08718160dacca71c0c
Diffstat (limited to 'java/sdk_library.go')
-rw-r--r-- | java/sdk_library.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sdk_library.go b/java/sdk_library.go index 61536157b..f04f837cc 100644 --- a/java/sdk_library.go +++ b/java/sdk_library.go @@ -2128,7 +2128,7 @@ func (module *SdkLibraryImport) GenerateAndroidBuildActions(ctx android.ModuleCo if dexOutputPath := di.PrebuiltExportPath(module.BaseModuleName(), ".dexjar"); dexOutputPath != nil { module.dexJarFile = dexOutputPath module.initHiddenAPI(ctx, module.configurationName) - module.hiddenAPIExtractInformation(ctx, dexOutputPath, module.findScopePaths(apiScopePublic).stubsImplPath[0]) + module.hiddenAPIUpdatePaths(ctx, dexOutputPath, module.findScopePaths(apiScopePublic).stubsImplPath[0]) } else { // This should never happen as a variant for a prebuilt_apex is only created if the // prebuilt_apex has been configured to export the java library dex file. |