• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "bounds",
28        "null",
29        "unreachable",
30        "integer",
31    ],
32}
33
34/* Activate the following for debug purposes only,
35   comment out for production */
36GNSS_SANITIZE_DIAG = {
37/*
38    diag: {
39        cfi: true,
40        misc_undefined: [
41            "bounds",
42            "null",
43            "unreachable",
44            "integer",
45        ],
46    },
47*/
48}
49