2 name: "soong-fluoride",
3 pkgPath: "android/soong/fluoride",
14 pluginFor: ["soong_build"],
18 name: "libchrome_support_defaults",
19 shared_libs: ["libchrome"],
33 name: "fluoride_types_defaults",
34 defaults: ["libchrome_support_defaults"],
36 "-DEXPORT_SYMBOL=__attribute__((visibility(\"default\")))",
37 "-fvisibility=hidden",
38 // struct BT_HDR is defined as a variable-size header in a struct.
39 "-Wno-gnu-variable-sized-type-not-at-end",
40 // there are too many unused parameters in all the code.
41 "-Wno-unused-parameter",
57 name: "fluoride_defaults",
60 test_config_template: ":BluetoothTestConfigTemplate",
63 defaults: ["fluoride_types_defaults"],
64 header_libs: ["libbluetooth_headers"],
65 shared_libs: ["libstatslog"],
68 "libbt-platform-protos-lite",
72 misc_undefined: ["bounds"],
76 // Enables code coverage for a set of source files. Must be combined with
77 // "clang_coverage_bin" in order to work. See //test/gen_coverage.py for more information
78 // on generating code coverage.
80 name: "clang_file_coverage",
84 "-fprofile-instr-generate",
91 // Enabled code coverage on a binary. These flags allow libraries that were
92 // compiled with "clang_file_coverage" to be properly linked together in
93 // order to create a binary that will create a profraw file when ran. Note
94 // these flags themselves don't enable code coverage for the source files
95 // compiled in the binary. See //test/gen_coverage.py for more information
96 // on generating code coverage.
98 name: "clang_coverage_bin",
102 "-fprofile-instr-generate",
103 "-fcoverage-mapping",