diff options
author | 2024-10-09 12:42:55 +0000 | |
---|---|---|
committer | 2024-10-25 07:24:57 +0000 | |
commit | 989825d3f064fe20903db70e7a234f67dcdc6f5e (patch) | |
tree | fa11ea0a2a09811868d035e445d809796a327d91 /api/api.go | |
parent | ce3c8280eb99956dc50379b8d3dadc5013a76152 (diff) |
Separating framework platform crashrecovery jar
Creating new jar "framework-platformcrashrecovery".
This would separate all the apis to a different sdk library while still
being part of core platform.
This jar is behind release_crashrecovery_module flag which also controls enabling CrashRecovery module apex.
Based on the flag only one of platformcrashrecovery jar or CrashRecovery Apex will be used.
So essentially on device if release_crashrecovery_module flag is
1. true: CrashRecovery Apex is present, this jar is not used
2. false: CrashRecovery Apex is not used, this jar is present
Bug: 289203818
Test: Jar is present in Bootclasspath on device
Test: ExplcitHealthCheckService registered on device
Flag: build.release_crashrecovery_module
Change-Id: I4696e74a1ba236614398b48a6d7145777079286b
Diffstat (limited to 'api/api.go')
-rw-r--r-- | api/api.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/api.go b/api/api.go index 29083dfc8968..f32bdc32f75d 100644 --- a/api/api.go +++ b/api/api.go @@ -28,6 +28,7 @@ const conscrypt = "conscrypt.module.public.api" const i18n = "i18n.module.public.api" const virtualization = "framework-virtualization" const location = "framework-location" +const platformCrashrecovery = "framework-platformcrashrecovery" var core_libraries_modules = []string{art, conscrypt, i18n} @@ -39,7 +40,7 @@ var core_libraries_modules = []string{art, conscrypt, i18n} // APIs. // In addition, the modules in this list are allowed to contribute to test APIs // stubs. -var non_updatable_modules = []string{virtualization, location} +var non_updatable_modules = []string{virtualization, location, platformCrashrecovery} // The intention behind this soong plugin is to generate a number of "merged" // API-related modules that would otherwise require a large amount of very |