diff options
Diffstat (limited to 'android/apex.go')
-rw-r--r-- | android/apex.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/android/apex.go b/android/apex.go index c0907a758..c1e7a5cd0 100644 --- a/android/apex.go +++ b/android/apex.go @@ -954,3 +954,18 @@ type ApexTestInterface interface { // Return true if the apex bundle is an apex_test IsTestApex() bool } + +var ApexExportsInfoProvider = blueprint.NewProvider[ApexExportsInfo]() + +// ApexExportsInfo contains information about the artifacts provided by apexes to dexpreopt and hiddenapi +type ApexExportsInfo struct { + // Canonical name of this APEX. Used to determine the path to the activated APEX on + // device (/apex/<apex_name>) + ApexName string + + // Path to the image profile file on host (or empty, if profile is not generated). + ProfilePathOnHost Path + + // Map from the apex library name (without prebuilt_ prefix) to the dex file path on host + LibraryNameToDexJarPathOnHost map[string]Path +} |