1soong_namespace { 2} 3 4GNSS_CFLAGS = [ 5 "-Werror", 6 "-Wno-error=unused-parameter", 7 "-Wno-error=macro-redefined", 8 "-Wno-error=reorder", 9 "-Wno-error=missing-braces", 10 "-Wno-error=self-assign", 11 "-Wno-error=enum-conversion", 12 "-Wno-error=logical-op-parentheses", 13 "-Wno-error=null-arithmetic", 14 "-Wno-error=null-conversion", 15 "-Wno-error=parentheses-equality", 16 "-Wno-error=undefined-bool-conversion", 17 "-Wno-error=tautological-compare", 18 "-Wno-error=switch", 19 "-Wno-error=date-time", 20] 21 22/* Activate the following for regression testing */ 23GNSS_SANITIZE = { 24/* address: true,*/ 25 cfi: true, 26 misc_undefined: [ 27 "alignment", 28 "bounds", 29 "null", 30 "unreachable", 31 "integer", 32 ], 33} 34 35/* Activate the following for debug purposes only, 36 comment out for production */ 37GNSS_SANITIZE_DIAG = { 38/* 39 diag: { 40 cfi: true, 41 misc_undefined: [ 42 "alignment", 43 "bounds", 44 "null", 45 "unreachable", 46 "integer", 47 ], 48 }, 49*/ 50} 51