Skip to content
Snippets Groups Projects
Commit b87d24f3 authored by Harshit Mahajan's avatar Harshit Mahajan Committed by Gerrit Code Review
Browse files

Merge "Revert^2 "[CrashRecovery] Add module lib to Android SDK"" into main

parents 4e49a6c2 1f4501f6
No related branches found
No related tags found
No related merge requests found
...@@ -69,8 +69,40 @@ genrule { ...@@ -69,8 +69,40 @@ genrule {
visibility: ["//visibility:public"], visibility: ["//visibility:public"],
} }
soong_config_module_type {
name: "enable_crashrecovery_module",
module_type: "combined_apis_defaults",
config_namespace: "ANDROID",
bool_variables: ["release_crashrecovery_module"],
properties: [
"bootclasspath",
"system_server_classpath",
],
}
soong_config_bool_variable {
name: "release_crashrecovery_module",
}
enable_crashrecovery_module {
name: "crashrecovery_module_defaults",
soong_config_variables: {
release_crashrecovery_module: {
bootclasspath: [
"framework-crashrecovery",
],
system_server_classpath: [
"service-crashrecovery",
],
},
},
}
combined_apis { combined_apis {
name: "frameworks-base-api", name: "frameworks-base-api",
defaults: [
"crashrecovery_module_defaults",
],
bootclasspath: [ bootclasspath: [
"android.net.ipsec.ike", "android.net.ipsec.ike",
"art.module.public.api", "art.module.public.api",
......
...@@ -29,6 +29,7 @@ soong_config_module_type { ...@@ -29,6 +29,7 @@ soong_config_module_type {
config_namespace: "AUTO", config_namespace: "AUTO",
bool_variables: [ bool_variables: [
"car_bootclasspath_fragment", "car_bootclasspath_fragment",
"release_crashrecovery_module",
], ],
properties: [ properties: [
"fragments", "fragments",
...@@ -155,6 +156,15 @@ custom_platform_bootclasspath { ...@@ -155,6 +156,15 @@ custom_platform_bootclasspath {
}, },
], ],
}, },
release_crashrecovery_module: {
fragments: [
// only used when crashrecovery is enabled
{
apex: "com.android.crashrecovery",
module: "com.android.crashrecovery-bootclasspath-fragment",
},
],
},
}, },
// Additional information needed by hidden api processing. // Additional information needed by hidden api processing.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment