Create core_platform system modules from .txt files
Create a parallel set of java_system_modules that build using stubs from .txt files. decodeSdkDep will be updated to use these system modules behind a flag. Since stub generation from .txt is not available at ToT yet, these modules have been marked "enabled: false" Test: None (will test when the enabled flag is turned on) Change-Id: Ie9d465f5542a5430f03ba2e0861325011ac8e8c5
This commit is contained in:
parent
4f771f144c
commit
a032c35320
1 changed files with 58 additions and 0 deletions
|
@ -82,3 +82,61 @@ java_library {
|
|||
// TODO: Enable after stub generation from .txt file is available
|
||||
enabled: false,
|
||||
}
|
||||
|
||||
// Same as legacy-core-platform-api-stubs-system-modules, but the stubs are generated from .txt files
|
||||
java_system_modules {
|
||||
name: "legacy-core-platform-api-stubs-system-modules.from-text",
|
||||
visibility: core_platform_visibility,
|
||||
libs: [
|
||||
"legacy.core.platform.api.no.annotations.stubs.from-text",
|
||||
"core-lambda-stubs-for-system-modules",
|
||||
],
|
||||
// TODO: Enable after stub generation from .txt file is available
|
||||
enabled: false,
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "legacy.core.platform.api.no.annotations.stubs.from-text",
|
||||
visibility: core_platform_visibility,
|
||||
defaults: [
|
||||
"system-modules-no-annotations",
|
||||
],
|
||||
hostdex: true,
|
||||
compile_dex: true,
|
||||
|
||||
static_libs: [
|
||||
"legacy.core.platform.api.stubs.from-text",
|
||||
],
|
||||
patch_module: "java.base",
|
||||
// TODO: Enable after stub generation from .txt file is available
|
||||
enabled: false,
|
||||
}
|
||||
|
||||
// Same as stable-core-platform-api-stubs-system-modules, but the stubs are generated from .txt files
|
||||
java_system_modules {
|
||||
name: "stable-core-platform-api-stubs-system-modules.from-text",
|
||||
visibility: core_platform_visibility,
|
||||
libs: [
|
||||
"stable.core.platform.api.no.annotations.stubs.from-text",
|
||||
"core-lambda-stubs-for-system-modules",
|
||||
],
|
||||
// TODO: Enable after stub generation from .txt file is available
|
||||
enabled: false,
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "stable.core.platform.api.no.annotations.stubs.from-text",
|
||||
visibility: core_platform_visibility,
|
||||
defaults: [
|
||||
"system-modules-no-annotations",
|
||||
],
|
||||
hostdex: true,
|
||||
compile_dex: true,
|
||||
|
||||
static_libs: [
|
||||
"stable.core.platform.api.stubs.from-text",
|
||||
],
|
||||
patch_module: "java.base",
|
||||
// TODO: Enable after stub generation from .txt file is available
|
||||
enabled: false,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue