blob: ade3bef1a29602b45aa459c7d83799a51a8faecb [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",
Dylan Tian8a6e09c2022-08-16 07:29:28 +000031 ],
32 test_config: "VtsHalBluetoothTargetTest.xml",
33 test_suites: [
34 "general-tests",
35 "vts",
36 ],
37 tidy: true,
38 tidy_checks: [
39 "-*",
40 "readability-inconsistent-declaration-parameter-name",
41 "readability-*",
42 "-readability-function-size",
43 "-readability-identifier-length",
44 "-readability-implicit-bool-conversion",
45 "-readability-magic-numbers",
46 "-readability-use-anyofallof",
47 ],
48 tidy_checks_as_errors: [
49 "readability-*",
50 ],
51 tidy_flags: [
52 "--header-filter=^.*tools\\/rootcanal\\/(model|include|net|desktop)\\/(.(?!\\.pb\\.h))*$",
53 ],
Myles Watson51b8bae2023-01-27 14:22:24 -080054 tidy_disabled_srcs: [
55 ":BluetoothPacketSources",
Myles Watson51b8bae2023-01-27 14:22:24 -080056 ],
Dylan Tian8a6e09c2022-08-16 07:29:28 +000057}