Merge "Added platform-bootclasspath"

This commit is contained in:
Paul Duffin
2021-04-01 19:06:54 +00:00
committed by Gerrit Code Review

View File

@@ -23,7 +23,24 @@ package {
default_applicable_licenses: ["frameworks_base_license"], default_applicable_licenses: ["frameworks_base_license"],
} }
boot_image { // This module provides access to information Soong has related to the
name: "framework-boot-image", // whole platform bootclasspath. Currently, that information is provided solely
image_name: "boot", // through configuration but additional information will be added here.
//
// This will provide support for the following:
// * Hidden API processing for those parts of the bootclasspath that are not
// part of an APEX.
// * Compatibility checking to ensure that the hidden API bits encoded into the
// dex files by the modularized hidden API processing is compatible with the
// runtimes of earlier releases which expect the bits to have been computed
// over the entirety of the bootclasspath in one go not separately.
// * Dexpreopting apps and other libraries not on the platform bootclasspath.
// * Generating and installing the appropriate files to the device which will
// allow it to generate the bootclasspath related environment variables
// dynamically.
//
// This module needs to be present in the build for the above processing to be
// done correctly.
platform_bootclasspath {
name: "platform-bootclasspath",
} }