Android.bp 938 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. GNSS_CFLAGS = [
  2. "-Werror",
  3. "-Wformat",
  4. "-Wformat-extra-args",
  5. "-Wunused-label",
  6. "-Wunused-variable",
  7. "-Wunused-function",
  8. "-Wimplicit-fallthrough",
  9. "-Wno-unused-parameter",
  10. "-Wno-error=unused-parameter",
  11. "-Wno-error=macro-redefined",
  12. "-Wno-error=reorder",
  13. "-Wno-error=missing-braces",
  14. "-Wno-error=self-assign",
  15. "-Wno-error=enum-conversion",
  16. "-Wno-error=logical-op-parentheses",
  17. "-Wno-error=null-arithmetic",
  18. "-Wno-error=null-conversion",
  19. "-Wno-error=parentheses-equality",
  20. "-Wno-error=undefined-bool-conversion",
  21. "-Wno-error=tautological-compare",
  22. "-Wno-error=switch",
  23. ]
  24. /* Activate the following for debug purposes only,
  25. comment out for production */
  26. GNSS_SANITIZE_DIAG = {
  27. /*
  28. diag: {
  29. cfi: true,
  30. misc_undefined: [
  31. "bounds",
  32. "null",
  33. "unreachable",
  34. "integer",
  35. ],
  36. },
  37. */
  38. }