diff options
Diffstat (limited to 'le_audio/system/bt/bta/Android.bp')
-rw-r--r-- | le_audio/system/bt/bta/Android.bp | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/le_audio/system/bt/bta/Android.bp b/le_audio/system/bt/bta/Android.bp new file mode 100644 index 000000000..6daca85d8 --- /dev/null +++ b/le_audio/system/bt/bta/Android.bp @@ -0,0 +1,97 @@ +/****************************************************************************** + * + * Copyright 2021 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + ******************************************************************************/ + +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_defaults { + name: "fluoride_bta_defaults_qti_adva", + defaults: ["fluoride_defaults"], + local_include_dirs: [ + "include", + ], + include_dirs: [ + "vendor/qcom/opensource/commonsys/system/bt", + "vendor/qcom/opensource/commonsys/system/bt/bta/include", + "vendor/qcom/opensource/commonsys/system/bt/bta/ag", + "vendor/qcom/opensource/commonsys/system/bt/btcore/include", + "vendor/qcom/opensource/commonsys/system/bt/hci/include", + "vendor/qcom/opensource/commonsys/system/bt/internal_include", + "vendor/qcom/opensource/commonsys/system/bt/stack/include", + "vendor/qcom/opensource/commonsys/system/bt/stack/btm", + "vendor/qcom/opensource/commonsys/system/bt/udrv/include", + "vendor/qcom/opensource/commonsys/system/bt/vnd/include", + "vendor/qcom/opensource/commonsys/system/bt/utils/include", + "vendor/qcom/opensource/commonsys/bluetooth_ext/system_bt_ext", + "vendor/qcom/opensource/commonsys/bluetooth_ext/vhal/include", + "vendor/qcom/opensource/commonsys/bluetooth_ext/system_bt_ext/bta/include", + "vendor/qcom/opensource/commonsys/bluetooth_ext/system_bt_ext/btif/include", + "vendor/qcom/opensource/commonsys-intf/bluetooth/include", + "vendor/qcom/opensource/commonsys/system/bt/device/include", + "vendor/qcom/opensource/commonsys/system/bt/btif/include", + "vendor/qcom/opensource/commonsys/system/bt/bta/include", + "vendor/qcom/opensource/commonsys/system/bt/bta/sys", + "vendor/qcom/opensource/commonsys/bluetooth_lea/system/bt", + "vendor/qcom/opensource/commonsys/bluetooth_lea/system/bt/bta/include", + "vendor/qcom/opensource/commonsys/bluetooth_lea/vhal/include", + "vendor/qcom/opensource/commonsys/bluetooth_lea/system/bt/bta/bap", + "vendor/qcom/opensource/commonsys/bluetooth_lea/system/bt/btif/include", + "system/bt/common/" + ], + shared_libs: [ + "libcutils", + ], + header_libs: ["libbluetooth_headers"], + cflags: [ + "-DBUILDCFG", + "-DADV_AUDIO_FEATURE=1", + ], +} + +// BTA static library for target +// ======================================================== +cc_library_static { + name: "libbt-bta_qti_adva", + defaults: ["fluoride_bta_defaults_qti_adva"], + enabled: false, + srcs: [ + "csip/bta_csip_act.cc", + "csip/bta_csip_api.cc", + "csip/bta_csip_main.cc", + "csip/bta_csip_utils.cc", + "bap/ascs_client.cc", + "bap/pacs_client.cc", + "bap/gattc_ops_queue.cc", + "bap/gatts_ops_queue.cc", + "bap/uclient_main.cc", + "bap/uclient_strm_mgr.cc", + "bap/uclient_strm_tracker.cc", + "bap/connected_iso.cc", + "bap/uclient_alarm.cc", + "vcp/bta_vcp_controller.cc", + "dm/bta_dm_adv_audio.cc", + "mcp/bta_mcp_main.cc", + "cc/bta_cc_main.cc", + ], +} |