upload android base code part6
This commit is contained in:
parent
421e214c7d
commit
4e516ec6ed
35396 changed files with 9188716 additions and 0 deletions
55
android/system/bt/build/Android.bp
Normal file
55
android/system/bt/build/Android.bp
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
bootstrap_go_package {
|
||||
name: "soong-fluoride",
|
||||
pkgPath: "android/soong/fluoride",
|
||||
deps: [
|
||||
"blueprint",
|
||||
"blueprint-pathtools",
|
||||
"soong",
|
||||
"soong-android",
|
||||
"soong-cc",
|
||||
],
|
||||
srcs: [
|
||||
"fluoride.go",
|
||||
],
|
||||
pluginFor: ["soong_build"],
|
||||
}
|
||||
|
||||
fluoride_defaults {
|
||||
name: "fluoride_types_defaults",
|
||||
cflags: [
|
||||
"-DEXPORT_SYMBOL=__attribute__((visibility(\"default\")))",
|
||||
"-fvisibility=hidden",
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
// struct BT_HDR is defined as a variable-size header in a struct.
|
||||
"-Wno-gnu-variable-sized-type-not-at-end",
|
||||
// needed because of the way the struct typedef is done in osi/include
|
||||
// header files. This issue can be obsoleted by switching to C11 or C++.
|
||||
"-Wno-typedef-redefinition",
|
||||
// there are too many unused parameters in all the code.
|
||||
"-Wno-unused-parameter",
|
||||
"-DLOG_NDEBUG=1",
|
||||
],
|
||||
conlyflags: [
|
||||
"-std=c99",
|
||||
],
|
||||
product_variables: {
|
||||
debuggable: {
|
||||
cflags: [
|
||||
"-DBLUEDROID_DEBUG",
|
||||
"-DDCHECK_ALWAYS_ON"
|
||||
],
|
||||
},
|
||||
},
|
||||
shared_libs: [ "libchrome" ]
|
||||
// Setup Bluetooth local make variables for handling configuration
|
||||
}
|
||||
|
||||
fluoride_defaults {
|
||||
name: "fluoride_defaults",
|
||||
defaults: ["fluoride_types_defaults"],
|
||||
static_libs: [
|
||||
"libbluetooth-types",
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue