Dylan Tian | 8a6e09c | 2022-08-16 07:29:28 +0000 | [diff] [blame] | 1 | package { |
| 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 | |
| 10 | cc_test { |
| 11 | name: "VtsHalBluetoothTargetTest", |
| 12 | defaults: [ |
| 13 | "VtsHalTargetTestDefaults", |
| 14 | "use_libaidlvintf_gtest_helper_static", |
| 15 | ], |
Myles Watson | 51b8bae | 2023-01-27 14:22:24 -0800 | [diff] [blame] | 16 | 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 Tian | 8a6e09c | 2022-08-16 07:29:28 +0000 | [diff] [blame] | 27 | shared_libs: [ |
Dylan Tian | 8a6e09c | 2022-08-16 07:29:28 +0000 | [diff] [blame] | 28 | "libbase", |
| 29 | "libbinder_ndk", |
| 30 | "libcutils", |
| 31 | ], |
| 32 | static_libs: [ |
Devin Moore | 21ca742 | 2023-01-20 00:27:32 +0000 | [diff] [blame] | 33 | "android.hardware.bluetooth-V1-ndk", |
Dylan Tian | 8a6e09c | 2022-08-16 07:29:28 +0000 | [diff] [blame] | 34 | "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 Watson | 51b8bae | 2023-01-27 14:22:24 -0800 | [diff] [blame] | 58 | tidy_disabled_srcs: [ |
| 59 | ":BluetoothPacketSources", |
| 60 | ":BluetoothHciPacketSources", |
| 61 | ], |
Dylan Tian | 8a6e09c | 2022-08-16 07:29:28 +0000 | [diff] [blame] | 62 | } |