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 | ], |
| 16 | srcs: ["VtsHalBluetoothTargetTest.cpp"], |
| 17 | shared_libs: [ |
Dylan Tian | 8a6e09c | 2022-08-16 07:29:28 +0000 | [diff] [blame] | 18 | "libbase", |
| 19 | "libbinder_ndk", |
| 20 | "libcutils", |
| 21 | ], |
| 22 | static_libs: [ |
Devin Moore | 21ca742 | 2023-01-20 00:27:32 +0000 | [diff] [blame] | 23 | "android.hardware.bluetooth-V1-ndk", |
Dylan Tian | 8a6e09c | 2022-08-16 07:29:28 +0000 | [diff] [blame] | 24 | "libbluetooth-types", |
| 25 | ], |
| 26 | test_config: "VtsHalBluetoothTargetTest.xml", |
| 27 | test_suites: [ |
| 28 | "general-tests", |
| 29 | "vts", |
| 30 | ], |
| 31 | tidy: true, |
| 32 | tidy_checks: [ |
| 33 | "-*", |
| 34 | "readability-inconsistent-declaration-parameter-name", |
| 35 | "readability-*", |
| 36 | "-readability-function-size", |
| 37 | "-readability-identifier-length", |
| 38 | "-readability-implicit-bool-conversion", |
| 39 | "-readability-magic-numbers", |
| 40 | "-readability-use-anyofallof", |
| 41 | ], |
| 42 | tidy_checks_as_errors: [ |
| 43 | "readability-*", |
| 44 | ], |
| 45 | tidy_flags: [ |
| 46 | "--header-filter=^.*tools\\/rootcanal\\/(model|include|net|desktop)\\/(.(?!\\.pb\\.h))*$", |
| 47 | ], |
| 48 | } |