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