Skip to content
Snippets Groups Projects
Commit 29b37334 authored by Roopa Sattiraju's avatar Roopa Sattiraju
Browse files

Add apex_available and min_sdk, sdk_version to deps of bt apex

Bug: 206121418
Test: Compile
Change-Id: I799bcdeabd19107a563fa4d8d6e094221d4f69f6
parent 84648560
No related branches found
No related tags found
No related merge requests found
Showing
with 112 additions and 0 deletions
......@@ -28,6 +28,10 @@ cc_library {
"src/audio_a2dp_hw.cc",
"src/audio_a2dp_hw_utils.cc",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
shared_libs: [
"liblog",
"libcutils",
......@@ -42,6 +46,7 @@ cc_library_static {
"src/audio_a2dp_hw_utils.cc",
],
host_supported: true,
min_sdk_version: "29",
}
// Audio A2DP library unit tests for target and host
......
......@@ -27,6 +27,10 @@ cc_library {
"src/audio_hearing_aid_hw.cc",
"src/audio_hearing_aid_hw_utils.cc",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
shared_libs: [
"liblog",
],
......
......@@ -28,6 +28,10 @@ cc_defaults {
],
header_libs: ["libbluetooth_headers"],
host_supported: true,
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
target: {
linux_glibc: {
cflags: ["-D_GNU_SOURCE"],
......@@ -52,6 +56,11 @@ cc_library_headers {
export_include_dirs: ["./"],
vendor_available: true,
host_supported: true,
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
// Note: It's good to get the tests compiled both for the host and the target so
......
......@@ -47,6 +47,11 @@ cc_library {
shared_libs: [
"libcutils",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
target: {
android: {
shared_libs: [
......
......@@ -96,7 +96,11 @@ fluoride_defaults {
"liblog",
"libcutils",
],
shared_libs: [
"liblog",
],
cpp_std: "c++17",
min_sdk_version: "current",
}
fluoride_defaults {
......
......@@ -212,6 +212,7 @@ cc_library {
defaults: [
"libbluetooth_gd_defaults",
],
min_sdk_version: "31",
}
cc_library {
......@@ -573,6 +574,11 @@ rust_library {
"libthiserror",
"liblog_rust",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
rust_test_host {
......@@ -995,4 +1001,9 @@ rust_protobuf {
],
source_stem: "facade",
host_supported: true,
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
......@@ -142,6 +142,11 @@ cc_library {
generated_sources: [
"BluetoothGeneratedDumpsysBundledSchema_cc",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
cc_library {
......
......@@ -21,6 +21,8 @@ java_library_static {
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
sdk_version: "current",
}
cc_library_static {
......@@ -38,6 +40,7 @@ cc_library_static {
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
cc_library_static {
......@@ -56,4 +59,5 @@ cc_library_static {
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
......@@ -40,6 +40,11 @@ rust_library {
proc_macros: [
"libpaste",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
rust_test_host {
......
......@@ -58,4 +58,9 @@ rust_library {
"liblog_rust",
"libcxx",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
......@@ -15,6 +15,11 @@ rust_library {
edition: "2018",
proc_macros: ["libgddi_macros"],
rustlibs: ["libtokio"],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
rust_proc_macro {
......
......@@ -59,6 +59,11 @@ rust_library_rlib {
rust_ffi_static {
name: "libbt_shim_ffi",
defaults: ["libbt_shim_defaults"],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
cc_library_static {
......@@ -97,6 +102,7 @@ cc_library_static {
shared_libs: [
"libchrome",
],
min_sdk_version: "30",
}
cc_library_static {
......@@ -107,6 +113,11 @@ cc_library_static {
"libbt_shim_ffi",
],
host_supported: true,
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
cc_library_static {
......@@ -119,12 +130,22 @@ cc_library_static {
"libchrome",
],
host_supported: true,
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
cc_library_headers {
name: "libbt_callbacks_cxx_headers",
local_include_dirs: ["callbacks"],
host_supported: true,
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
genrule {
......
......@@ -35,6 +35,11 @@ rust_library {
proc_macros: [
"libnum_derive",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
target: {
android: {
whole_static_libs: ["libbt_hidl_hal_cxx"],
......@@ -108,5 +113,10 @@ cc_library_static {
"libhidlbase",
"libutils",
],
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
......@@ -24,6 +24,7 @@ cc_library_headers {
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
cc_library_headers {
......@@ -42,4 +43,9 @@ cc_library_headers {
export_include_dirs: ["./"],
vendor_available: true,
host_supported: true,
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
......@@ -12,4 +12,5 @@ cc_library_headers {
export_include_dirs: ["./"],
vendor_available: true,
host_supported: true,
min_sdk_version: "30",
}
......@@ -165,7 +165,12 @@ cc_library_shared {
sanitize: {
never: true,
},
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
host_supported: true,
min_sdk_version: "30",
}
cc_library_static {
......
......@@ -99,6 +99,10 @@ cc_library_static {
],
},
},
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
],
}
// libosi unit tests for target and host
......
......@@ -23,6 +23,7 @@ cc_library_static {
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
cc_test {
......
......@@ -45,4 +45,5 @@ cc_library_static {
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
......@@ -22,4 +22,5 @@ cc_library_static {
"//apex_available:platform",
"com.android.bluetooth",
],
min_sdk_version: "30",
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment