platform_device_xiaomi_sm84.../gps/Android.bp
Arian f518e7ef8f sm8450-common: gps: Update to LA.VENDOR.1.0.r1-21900-WAIPIO.0
Change-Id: Ib431364a902ecd9b068e672978f5e24ecbf42160
2024-03-19 23:22:37 +01:00

50 lines
973 B
Text

GNSS_CFLAGS = [
"-Werror",
"-Wformat",
"-Wformat-extra-args",
"-Wunused-label",
"-Wunused-variable",
"-Wunused-function",
"-Wimplicit-fallthrough",
"-Wno-unused-parameter",
"-Wno-undefined-bool-conversion",
]
soong_config_module_type {
name: "qtilocation_cc_defaults",
module_type: "cc_defaults",
config_namespace: "qtilocation",
bool_variables: [
"feature_nhz",
],
properties: [
"cflags",
],
}
qtilocation_cc_defaults {
name: "qtilocation_common_defaults",
cflags: GNSS_CFLAGS,
soong_config_variables: {
feature_nhz: {
cflags: ["-DFEATURE_NHZ_ENABLED"],
},
},
}
/* Activate the following for debug purposes only,
comment out for production */
GNSS_SANITIZE_DIAG = {
/*
diag: {
cfi: true,
misc_undefined: [
"bounds",
"null",
"unreachable",
"integer",
],
},
*/
}