Android.bp 689 B

123456789101112131415161718192021222324252627282930313233
  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-undefined-bool-conversion",
  11. ]
  12. soong_config_module_type {
  13. name: "qtilocation_cc_defaults",
  14. module_type: "cc_defaults",
  15. config_namespace: "qtilocation",
  16. bool_variables: [
  17. "feature_nhz",
  18. ],
  19. properties: [
  20. "cflags",
  21. ],
  22. }
  23. qtilocation_cc_defaults {
  24. name: "qtilocation_common_defaults",
  25. cflags: GNSS_CFLAGS,
  26. soong_config_variables: {
  27. feature_nhz: {
  28. cflags: ["-DFEATURE_NHZ_ENABLED"],
  29. },
  30. },
  31. }