blob: a08bdfcba7251ec33af8d016fb9b37fe04af8622 [file] [log] [blame]
Dylan Tian8a6e09c2022-08-16 07:29:28 +00001package {
Yihan Dongd719d212024-10-12 09:04:41 +00002 default_team: "trendy_team_bluetooth",
Dylan Tian8a6e09c2022-08-16 07:29:28 +00003 // See: http://go/android-license-faq
4 // A large-scale-change added 'default_applicable_licenses' to import
5 // all of the 'license_kinds' from "hardware_interfaces_license"
6 // to get the below license kinds:
7 // SPDX-license-identifier-Apache-2.0
8 default_applicable_licenses: ["hardware_interfaces_license"],
9}
10
11cc_test {
12 name: "VtsHalBluetoothTargetTest",
13 defaults: [
14 "VtsHalTargetTestDefaults",
15 "use_libaidlvintf_gtest_helper_static",
16 ],
Myles Watson51b8bae2023-01-27 14:22:24 -080017 srcs: [
18 "VtsHalBluetoothTargetTest.cpp",
19 ":BluetoothPacketSources",
Myles Watson51b8bae2023-01-27 14:22:24 -080020 ],
21 include_dirs: [
22 "packages/modules/Bluetooth/system/gd",
23 ],
Dylan Tian8a6e09c2022-08-16 07:29:28 +000024 shared_libs: [
Dylan Tian8a6e09c2022-08-16 07:29:28 +000025 "libbase",
26 "libbinder_ndk",
27 "libcutils",
28 ],
29 static_libs: [
Devin Moore21ca7422023-01-20 00:27:32 +000030 "android.hardware.bluetooth-V1-ndk",
William Escandeb94637b2023-07-25 13:53:01 -070031 "libbluetooth_hci_pdl",
Henri Chataing11c37822024-03-29 17:15:28 +000032 "libbluetooth_log",
Dylan Tian8a6e09c2022-08-16 07:29:28 +000033 ],
34 test_config: "VtsHalBluetoothTargetTest.xml",
35 test_suites: [
36 "general-tests",
37 "vts",
38 ],
39 tidy: true,
40 tidy_checks: [
41 "-*",
42 "readability-inconsistent-declaration-parameter-name",
43 "readability-*",
44 "-readability-function-size",
45 "-readability-identifier-length",
46 "-readability-implicit-bool-conversion",
47 "-readability-magic-numbers",
48 "-readability-use-anyofallof",
49 ],
50 tidy_checks_as_errors: [
51 "readability-*",
52 ],
53 tidy_flags: [
54 "--header-filter=^.*tools\\/rootcanal\\/(model|include|net|desktop)\\/(.(?!\\.pb\\.h))*$",
55 ],
Myles Watson51b8bae2023-01-27 14:22:24 -080056 tidy_disabled_srcs: [
57 ":BluetoothPacketSources",
Myles Watson51b8bae2023-01-27 14:22:24 -080058 ],
Dylan Tian8a6e09c2022-08-16 07:29:28 +000059}