device_google_caimito/location/ripcurrent24/Android.bp
Wayne Lin 32f9c20881 gps: maintain one solution
Bug: 315915958
Test: build pass and GPS function works
Change-Id: Ibe6f2ce01b95dea8fca53dda4833a81262ebc63a
2024-05-06 03:02:09 +00:00

48 lines
923 B
Text

soong_namespace {}
package {
default_applicable_licenses: ["device_google_caimito_license"],
}
soong_config_module_type {
name: "gnss_prebuilt_etc",
module_type: "prebuilt_etc",
config_namespace: "gpssdk",
variables: [
"buildtype",
],
properties: [
"src",
],
}
soong_config_string_variable {
name: "buildtype",
values: [
"user",
"userdebug",
"eng",
],
}
gnss_prebuilt_etc {
name: "gps.cfg",
soong_config_variables: {
buildtype: {
user: {
src: "user/gps.cfg",
},
userdebug: {
src: "userdebug/gps.cfg",
},
eng: {
src: "userdebug/gps.cfg",
},
conditions_default: {
src: "user/gps.cfg",
},
},
},
relative_install_path: "gnss",
vendor: true,
}