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