}
fluoride_defaults {
- name: "fluoride_types_defaults",
+ name: "libchrome_support_defaults",
+ shared_libs: ["libchrome"],
cflags: [
- "-DEXPORT_SYMBOL=__attribute__((visibility(\"default\")))",
- "-fvisibility=hidden",
"-Wall",
"-Wextra",
"-Werror",
+ ],
+ target: {
+ darwin: {
+ enabled: false,
+ },
+ },
+}
+
+fluoride_defaults {
+ name: "fluoride_types_defaults",
+ defaults: ["libchrome_support_defaults"],
+ cflags: [
+ "-DEXPORT_SYMBOL=__attribute__((visibility(\"default\")))",
+ "-fvisibility=hidden",
// struct BT_HDR is defined as a variable-size header in a struct.
"-Wno-gnu-variable-sized-type-not-at-end",
// there are too many unused parameters in all the code.
],
},
},
- shared_libs: [ "libchrome" ],
- target: {
- darwin: {
- enabled: false,
- },
- },
}
fluoride_defaults {
cc_library_static {
name: "lib-bt-packets",
+ defaults: ["libchrome_support_defaults"],
host_supported: true,
export_include_dirs: [
"./include",
"lib-bt-packets-base",
"lib-bt-packets-avrcp",
],
- target: {
- darwin: {
- enabled: false
- }
- }
}
cc_test {
cc_library_static {
name: "lib-bt-packets-avrcp",
+ defaults: ["libchrome_support_defaults"],
export_include_dirs: ["."],
host_supported: true,
srcs: [
"register_notification_packet.cc",
"avrcp_reject_packet.cc",
],
- shared_libs: [
- "libchrome",
- ],
static_libs: [
"lib-bt-packets-base",
],
- cflags: [
- "-Wall",
- "-Wextra",
- "-Werror",
- ],
- target: {
- darwin: {
- enabled: false
- }
- }
}
cc_library_static {
name: "lib-bt-packets-base",
+ defaults: ["libchrome_support_defaults"],
export_include_dirs: ["./"],
host_supported: true,
srcs: [
"iterator.cc",
"packet_builder.cc",
],
- shared_libs: [
- "libchrome",
- ],
- cflags: [
- "-Wall",
- "-Wextra",
- "-Werror",
- ],
- target: {
- darwin: {
- enabled: false
- }
- }
-}
\ No newline at end of file
+}
// ========================================================
cc_library_static {
name: "libbt-rootcanal",
+ defaults: ["libchrome_support_defaults"],
proprietary: true,
srcs: [
"src/acl_packet.cc",
],
cflags: [
"-fvisibility=hidden",
- "-Wall",
- "-Wextra",
- "-Werror",
"-DHAS_NO_BDROID_BUILDCFG",
],
local_include_dirs: [
],
shared_libs: [
"libbase",
- "libchrome",
"liblog",
],
static_libs: [
// ========================================================
cc_test_host {
name: "test-vendor_test_host",
+ defaults: ["libchrome_support_defaults"],
srcs: [
"src/async_manager.cc",
"src/bt_address.cc",
],
shared_libs: [
"liblog",
- "libchrome",
],
static_libs: [
"libbluetooth-types",
],
cflags: [
"-fvisibility=hidden",
- "-Wall",
- "-Wextra",
- "-Werror",
"-DLOG_NDEBUG=1",
],
- target: {
- darwin: {
- enabled: false,
- }
- },
}