gps: handle eng build

Bug: 321095268
Test: lunch && m anything with -eng
Change-Id: I9be0b19846ef01a5902eb094b1b8e874243babfb
This commit is contained in:
Wayne Lin 2024-01-19 11:13:46 +08:00
parent f6f142bca6
commit 624db250b0

View file

@ -20,6 +20,7 @@ soong_config_string_variable {
name: "gpsconf",
values: [
"userdebug",
"eng",
"user",
"factory",
],
@ -42,12 +43,15 @@ gps_prebuilt_etc {
userdebug: {
src: "userdebug/gps.xml",
},
eng: {
src: "userdebug/gps.xml",
},
factory: {
src: "factory/gps.xml",
},
conditions_default: {
src: "user/gps.xml",
}
},
},
},
relative_install_path: "gnss",
@ -64,12 +68,15 @@ gps_prebuilt_etc {
userdebug: {
src: "userdebug/lhd.conf",
},
eng: {
src: "userdebug/lhd.conf",
},
factory: {
src: "factory/lhd.conf",
},
conditions_default: {
src: "user/lhd.conf",
}
},
},
},
relative_install_path: "gnss",
@ -86,12 +93,15 @@ gps_prebuilt_etc {
userdebug: {
src: "userdebug/scd.conf",
},
eng: {
src: "userdebug/scd.conf",
},
factory: {
src: "factory/scd.conf",
},
conditions_default: {
src: "user/scd.conf",
}
},
},
},
relative_install_path: "gnss",