Joshua Duong | 44e1ca1 | 2020-02-07 11:06:16 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2020 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 | |
Bob Badour | 4a6774b | 2021-02-12 19:46:09 -0800 | [diff] [blame] | 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 "packages_modules_adb_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["packages_modules_adb_license"], |
| 24 | } |
| 25 | |
Joshua Duong | 44e1ca1 | 2020-02-07 11:06:16 -0800 | [diff] [blame] | 26 | cc_test { |
| 27 | name: "adb_pairing_connection_test", |
| 28 | srcs: [ |
| 29 | "pairing_client.cpp", |
| 30 | "pairing_connection_test.cpp", |
| 31 | ], |
| 32 | |
| 33 | compile_multilib: "first", |
| 34 | |
| 35 | shared_libs: [ |
| 36 | "libbase", |
| 37 | "libcutils", |
| 38 | "libcrypto", |
| 39 | "libcrypto_utils", |
| 40 | "libprotobuf-cpp-lite", |
| 41 | "libssl", |
| 42 | ], |
| 43 | |
| 44 | // Let's statically link them so we don't have to install it onto the |
| 45 | // system image for testing. |
| 46 | static_libs: [ |
| 47 | "libadb_pairing_auth_static", |
| 48 | "libadb_pairing_connection_static", |
| 49 | "libadb_pairing_server_static", |
| 50 | "libadb_crypto_static", |
| 51 | "libadb_protos_static", |
| 52 | "libadb_tls_connection_static", |
| 53 | ], |
| 54 | |
Joshua Duong | a7c2a87 | 2022-05-02 23:06:59 +0000 | [diff] [blame^] | 55 | test_suites: ["general-tests", "mts-adbd"], |
Joshua Duong | 44e1ca1 | 2020-02-07 11:06:16 -0800 | [diff] [blame] | 56 | } |