summaryrefslogtreecommitdiff
path: root/java/bootclasspath_fragment_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2022-07-27 15:55:06 +0000
committer Paul Duffin <paulduffin@google.com> 2022-08-19 13:28:47 +0000
commit1e9e9388d8dd6838c3cf1244257c43815840c790 (patch)
treefbeb1575045a6a705c767ddf384f7255173281f2 /java/bootclasspath_fragment_test.go
parent29d16678469e3d24dbbd05f184e5c4e21ae859b0 (diff)
Refactor handling of hidden API property provided information
In preparation for adding hidden API properties to individual java_sdk_library modules this change refactors the handling of that information. 1. Renames HiddenApiPackageProperties to HiddenAPIPackageProperties to be consistent with other similar structs. 2. Creates a new HiddenAPIPropertyInfo struct to be used to provide property derived information from one module to another. It includes both flag files as well as the information about which packages are used. 3. The HiddenAPIPropertyInfo is embedded within the existing HiddenAPIFlagInput in place of the existing flag files field. 4. The fields in the HiddenAPIPropertyInfo struct are populated from the HiddenAPI*Properties structs. 5. Access to package information is retrieved from the info struct instead of directly from the properties. That means that no changes will be needed to this code when info from other modules is merged into the struct in a follow up change. Bug: 240406019 Test: packages/modules/common/build/mainline_modules_sdks.sh # Ran the previous command with and without this change to make # sure that this change does not change the sdk snapshot # contents. Change-Id: I773279a4b621bcc3c40e3bfe193f2c7b0caeccd6
Diffstat (limited to 'java/bootclasspath_fragment_test.go')
0 files changed, 0 insertions, 0 deletions