blob: a6eb35f4ea92a5b657cfc70f6b1553156b21a540 [file] [log] [blame]
Joshua Duong44e1ca12020-02-07 11:06:16 -08001//
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 Badour4a6774b2021-02-12 19:46:09 -080017package {
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 Duong44e1ca12020-02-07 11:06:16 -080026cc_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 Duonga7c2a872022-05-02 23:06:59 +000055 test_suites: ["general-tests", "mts-adbd"],
Joshua Duong44e1ca12020-02-07 11:06:16 -080056}