Chirag Pathak | 8960aae | 2021-01-25 21:37:06 +0000 | [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 | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame] | 17 | package { |
Yihan Dong | 8c111de | 2024-10-12 08:58:30 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_android_hardware_backed_security", |
Bob Badour | b224b36 | 2021-02-12 20:13:01 -0800 | [diff] [blame] | 19 | // See: http://go/android-license-faq |
| 20 | // A large-scale-change added 'default_applicable_licenses' to import |
| 21 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 22 | // to get the below license kinds: |
| 23 | // SPDX-license-identifier-Apache-2.0 |
| 24 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 25 | } |
| 26 | |
Chirag Pathak | 8960aae | 2021-01-25 21:37:06 +0000 | [diff] [blame] | 27 | cc_test { |
| 28 | name: "VtsAidlSharedSecretTargetTest", |
| 29 | defaults: [ |
| 30 | "VtsHalTargetTestDefaults", |
David Drysdale | 4925534 | 2021-11-22 14:32:31 +0000 | [diff] [blame] | 31 | "keymint_use_latest_hal_aidl_ndk_static", |
Chirag Pathak | 8960aae | 2021-01-25 21:37:06 +0000 | [diff] [blame] | 32 | "use_libaidlvintf_gtest_helper_static", |
| 33 | ], |
| 34 | srcs: [ |
| 35 | "SharedSecretAidlTest.cpp", |
| 36 | ], |
| 37 | cflags: [ |
| 38 | "-Wall", |
| 39 | "-Wextra", |
| 40 | ], |
| 41 | shared_libs: [ |
| 42 | "libbinder_ndk", |
| 43 | "libcrypto", |
Chirag Pathak | 8960aae | 2021-01-25 21:37:06 +0000 | [diff] [blame] | 44 | ], |
| 45 | static_libs: [ |
Jiyong Park | 27f77fe | 2021-07-27 12:16:52 +0900 | [diff] [blame] | 46 | "android.hardware.security.sharedsecret-V1-ndk", |
Chirag Pathak | f29ce36 | 2021-03-17 18:34:59 +0000 | [diff] [blame] | 47 | "libkeymint", |
Chirag Pathak | 8960aae | 2021-01-25 21:37:06 +0000 | [diff] [blame] | 48 | ], |
| 49 | test_suites: [ |
| 50 | "general-tests", |
| 51 | "vts", |
| 52 | ], |
| 53 | } |