Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2021 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 24 | } |
| 25 | |
| 26 | cc_test { |
| 27 | name: "VtsHalWifiSupplicantStaIfaceTargetTest", |
| 28 | defaults: [ |
| 29 | "VtsHalTargetTestDefaults", |
| 30 | "use_libaidlvintf_gtest_helper_static", |
| 31 | ], |
| 32 | srcs: ["supplicant_sta_iface_aidl_test.cpp"], |
| 33 | shared_libs: [ |
| 34 | "libbinder", |
| 35 | "libbinder_ndk", |
Gabriel Biren | 4e6c9a2 | 2022-01-31 22:26:08 +0000 | [diff] [blame] | 36 | "libvndksupport", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 37 | ], |
| 38 | static_libs: [ |
Gabriel Biren | fc6bd8c | 2022-11-04 21:45:53 +0000 | [diff] [blame^] | 39 | "android.hardware.wifi-V1-ndk", |
Biswarup Pal | 76514eb | 2022-11-05 14:13:09 +0000 | [diff] [blame] | 40 | "android.hardware.wifi.supplicant-V2-ndk", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 41 | "libwifi-system", |
| 42 | "libwifi-system-iface", |
Gabriel Biren | fc6bd8c | 2022-11-04 21:45:53 +0000 | [diff] [blame^] | 43 | "VtsHalWifiTargetTestUtil", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 44 | ], |
| 45 | test_suites: [ |
| 46 | "general-tests", |
| 47 | "vts", |
| 48 | ], |
| 49 | } |
| 50 | |
| 51 | cc_test { |
| 52 | name: "VtsHalWifiSupplicantStaNetworkTargetTest", |
| 53 | defaults: [ |
| 54 | "VtsHalTargetTestDefaults", |
| 55 | "use_libaidlvintf_gtest_helper_static", |
| 56 | ], |
| 57 | srcs: ["supplicant_sta_network_aidl_test.cpp"], |
| 58 | shared_libs: [ |
| 59 | "libbinder", |
| 60 | "libbinder_ndk", |
Gabriel Biren | 4e6c9a2 | 2022-01-31 22:26:08 +0000 | [diff] [blame] | 61 | "libvndksupport", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 62 | ], |
| 63 | static_libs: [ |
Gabriel Biren | fc6bd8c | 2022-11-04 21:45:53 +0000 | [diff] [blame^] | 64 | "android.hardware.wifi-V1-ndk", |
Biswarup Pal | 76514eb | 2022-11-05 14:13:09 +0000 | [diff] [blame] | 65 | "android.hardware.wifi.supplicant-V2-ndk", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 66 | "libwifi-system", |
| 67 | "libwifi-system-iface", |
Gabriel Biren | fc6bd8c | 2022-11-04 21:45:53 +0000 | [diff] [blame^] | 68 | "VtsHalWifiTargetTestUtil", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 69 | ], |
| 70 | test_suites: [ |
| 71 | "general-tests", |
| 72 | "vts", |
| 73 | ], |
| 74 | } |
| 75 | |
| 76 | cc_test { |
| 77 | name: "VtsHalWifiSupplicantP2pIfaceTargetTest", |
| 78 | defaults: [ |
| 79 | "VtsHalTargetTestDefaults", |
| 80 | "use_libaidlvintf_gtest_helper_static", |
| 81 | ], |
| 82 | srcs: ["supplicant_p2p_iface_aidl_test.cpp"], |
| 83 | shared_libs: [ |
| 84 | "libbinder", |
| 85 | "libbinder_ndk", |
Gabriel Biren | 4e6c9a2 | 2022-01-31 22:26:08 +0000 | [diff] [blame] | 86 | "libvndksupport", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 87 | ], |
| 88 | static_libs: [ |
Gabriel Biren | fc6bd8c | 2022-11-04 21:45:53 +0000 | [diff] [blame^] | 89 | "android.hardware.wifi-V1-ndk", |
Biswarup Pal | 76514eb | 2022-11-05 14:13:09 +0000 | [diff] [blame] | 90 | "android.hardware.wifi.supplicant-V2-ndk", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 91 | "libwifi-system", |
| 92 | "libwifi-system-iface", |
Gabriel Biren | fc6bd8c | 2022-11-04 21:45:53 +0000 | [diff] [blame^] | 93 | "VtsHalWifiTargetTestUtil", |
Gabriel Biren | 28a4812 | 2021-10-26 21:00:47 +0000 | [diff] [blame] | 94 | ], |
| 95 | test_suites: [ |
| 96 | "general-tests", |
| 97 | "vts", |
| 98 | ], |
| 99 | } |