gps: Enable coredump report for user ROM

In the user ROM, coredump file won't upload to server. Only for crash info statistic.

flag: EXEMPT the function has been verified at userdebug ROM.
Bug: 378004800
Bug: 377446770
Test: b/378004800 abtd to check sepolicy
Test: b/377446770#comment1 verified the coredump function on user ROM.
Change-Id: I917f494eac9e5a185dc503880d4f7d695e8651f3
This commit is contained in:
Cheng Chang 2024-11-05 10:03:58 +00:00
parent f34455d5c1
commit 0074216f27
3 changed files with 7 additions and 16 deletions

View file

@ -42,14 +42,9 @@ cc_prebuilt_binary {
// Bypass because libhidltransport is deprecated
// Bypass because libhwbinder is deprecated
check_elf_files: false,
product_variables: {
debuggable: {
required: [
"libsighandler",
],
},
},
required: [
"libsighandler",
],
init_rc: ["init.gnss.rc"],
vintf_fragments: ["android.hardware.gnss@default.xml"],
}
@ -86,14 +81,8 @@ cc_prebuilt_binary {
},
// Bypass because libsitril-gps is Android.mk module
check_elf_files: false,
product_variables: {
debuggable: {
required: [
"libsighandler",
],
},
},
required: [
"libcustomgnss",
"libsighandler",
],
}

View file

@ -1,3 +1,5 @@
# Enable coredump funtcion for all the ROM.
$(call soong_config_set_bool,sighandler,coredump,true)
# Enable pixel gnss hal service
-include vendor/google/gnss/aidl_service/pixel_gnss_hal.mk

View file

@ -1,7 +1,7 @@
GlueLayer_ToolConfigSelection=3
debug_console=0
debug_enable=0
mem_dump_to_node=0
mem_dump_to_node=1
GlueLayer_IsGedKeyExist=1
GlueLayer_EnableGnssCfgInterface=1
ism_stream_enable=1