gps: handle eng build

Bug: 321095268
Test: lunch && m anything with -eng
Change-Id: Ibaa426b661e291e429852f992df3526beeaec646
This commit is contained in:
Wayne Lin 2024-01-19 11:01:32 +08:00
parent b1aaf685e9
commit e0f86786bc
5 changed files with 70 additions and 20 deletions

View file

@ -22,6 +22,7 @@ soong_config_string_variable {
"factory",
"user",
"userdebug",
"eng",
],
}
@ -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",
}
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",

View file

@ -22,6 +22,7 @@ soong_config_string_variable {
"factory",
"user",
"userdebug",
"eng",
],
}
@ -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",
}
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",

View file

@ -22,6 +22,7 @@ soong_config_string_variable {
"factory",
"user",
"userdebug",
"eng",
],
}
@ -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",
}
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",

View file

@ -22,6 +22,7 @@ soong_config_string_variable {
"factory",
"user",
"userdebug",
"eng",
],
}
@ -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",
}
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",

View file

@ -22,6 +22,7 @@ soong_config_string_variable {
"factory",
"user",
"userdebug",
"eng",
],
}
@ -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",
}
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",