57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "system_bt_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["system_bt_license"],
|
|
}
|
|
|
|
cc_library_headers {
|
|
name: "avrcp_headers",
|
|
defaults: ["libchrome_support_defaults"],
|
|
export_include_dirs: ["./hardware/avrcp/"],
|
|
header_libs: ["internal_include_headers"],
|
|
export_header_lib_headers: ["internal_include_headers"],
|
|
|
|
// We need this in case some file outside of the Bluetooth project includes
|
|
// bluetooth.h but doesn't include libchrome which avrcp.h depends on.
|
|
export_static_lib_headers: ["libchrome"],
|
|
|
|
vendor_available: true,
|
|
host_supported: true,
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.bluetooth",
|
|
],
|
|
min_sdk_version: "30",
|
|
}
|
|
|
|
cc_library_headers {
|
|
name: "libbluetooth_headers",
|
|
defaults: ["libchrome_support_defaults"],
|
|
visibility:[
|
|
"//packages/apps/Test/connectivity/sl4n",
|
|
"//packages/modules/Bluetooth:__subpackages__",
|
|
"//vendor:__subpackages__",
|
|
],
|
|
header_libs: [
|
|
"avrcp_headers",
|
|
"libbluetooth-types-header",
|
|
"libbtcore_headers",
|
|
],
|
|
export_header_lib_headers: [
|
|
"avrcp_headers",
|
|
"libbluetooth-types-header",
|
|
"libbtcore_headers",
|
|
],
|
|
export_include_dirs: ["./"],
|
|
vendor_available: true,
|
|
host_supported: true,
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.bluetooth",
|
|
],
|
|
min_sdk_version: "30",
|
|
}
|