blob: 5fc0b2eef78d00b362a0ec0530fc4c115a4bf0ad [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",
19 ":BluetoothHciPacketSources",
20 ],
21 generated_headers: [
22 "BluetoothGeneratedPackets_h",
23 ],
24 include_dirs: [
25 "packages/modules/Bluetooth/system/gd",
26 ],
Dylan Tian8a6e09c2022-08-16 07:29:28 +000027 shared_libs: [
Dylan Tian8a6e09c2022-08-16 07:29:28 +000028 "libbase",
29 "libbinder_ndk",
30 "libcutils",
31 ],
32 static_libs: [
Devin Moore21ca7422023-01-20 00:27:32 +000033 "android.hardware.bluetooth-V1-ndk",
Dylan Tian8a6e09c2022-08-16 07:29:28 +000034 "libbluetooth-types",
35 ],
36 test_config: "VtsHalBluetoothTargetTest.xml",
37 test_suites: [
38 "general-tests",
39 "vts",
40 ],
41 tidy: true,
42 tidy_checks: [
43 "-*",
44 "readability-inconsistent-declaration-parameter-name",
45 "readability-*",
46 "-readability-function-size",
47 "-readability-identifier-length",
48 "-readability-implicit-bool-conversion",
49 "-readability-magic-numbers",
50 "-readability-use-anyofallof",
51 ],
52 tidy_checks_as_errors: [
53 "readability-*",
54 ],
55 tidy_flags: [
56 "--header-filter=^.*tools\\/rootcanal\\/(model|include|net|desktop)\\/(.(?!\\.pb\\.h))*$",
57 ],
Myles Watson51b8bae2023-01-27 14:22:24 -080058 tidy_disabled_srcs: [
59 ":BluetoothPacketSources",
60 ":BluetoothHciPacketSources",
61 ],
Dylan Tian8a6e09c2022-08-16 07:29:28 +000062}