xref: /aosp_15_r20/hardware/interfaces/bluetooth/aidl/vts/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    default_team: "trendy_team_bluetooth",
3    // 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    ],
17    srcs: [
18        "VtsHalBluetoothTargetTest.cpp",
19        ":BluetoothPacketSources",
20    ],
21    include_dirs: [
22        "packages/modules/Bluetooth/system/gd",
23    ],
24    shared_libs: [
25        "libbase",
26        "libbinder_ndk",
27        "libcutils",
28    ],
29    static_libs: [
30        "android.hardware.bluetooth-V1-ndk",
31        "libbluetooth_hci_pdl",
32        "libbluetooth_log",
33    ],
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    ],
56    tidy_disabled_srcs: [
57        ":BluetoothPacketSources",
58    ],
59}
60