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", "factory",
"user", "user",
"userdebug", "userdebug",
"eng",
], ],
} }
@ -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",

View file

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

View file

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

View file

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

View file

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