1package {
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    ],
16    srcs: [
17        "VtsHalBluetoothTargetTest.cpp",
18        ":BluetoothPacketSources",
19    ],
20    include_dirs: [
21        "packages/modules/Bluetooth/system/gd",
22    ],
23    shared_libs: [
24        "libbase",
25        "libbinder_ndk",
26        "libcutils",
27    ],
28    static_libs: [
29        "android.hardware.bluetooth-V1-ndk",
30        "libbluetooth_hci_pdl",
31        "libbluetooth_log",
32    ],
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    ],
55    tidy_disabled_srcs: [
56        ":BluetoothPacketSources",
57    ],
58}
59