android_system_core/adb/crypto/tests/Android.bp
Joshua Duong ef28ca4cdc Move adb RSA utilities into its own library.
Since both the client and daemon will now be generating keys.

BUG: b/111434128

Test: atest adb_crypto_test
Change-Id: I6fac562ae5629ab30b6639fbd88d822dae6e96bd
2020-02-11 20:49:20 -08:00

41 lines
1.1 KiB
Text

//
// Copyright (C) 2019 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
cc_test {
name: "adb_crypto_test",
srcs: [
"rsa_2048_key_test.cpp",
"x509_generator_test.cpp",
],
compile_multilib: "first",
shared_libs: [
"libbase",
"libcrypto",
"libcrypto_utils",
"libprotobuf-cpp-lite",
],
// Let's statically link them so we don't have to install it onto the
// system image for testing.
static_libs: [
"libadb_crypto_static",
"libadb_protos_static",
],
test_suites: ["device-tests"],
}