1// Copyright (C) 2020 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 // See: http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // all of the 'license_kinds' from "external_conscrypt_license" 19 // to get the below license kinds: 20 // SPDX-license-identifier-Apache-2.0 21 default_applicable_licenses: ["external_conscrypt_license"], 22} 23 24android_test { 25 name: "MtsConscryptTestCases", 26 platform_apis: true, 27 static_libs: [ 28 "conscrypt-support", 29 "conscrypt-tests", 30 "core-test-rules", 31 "ctstestrunner-axt", 32 "libcore-crypto-tests", 33 "junit", 34 ], 35 36 min_sdk_version: "29", 37 libs: [ 38 "android.test.base.stubs", 39 ], 40 41 // Tag this module as an mts test artifact 42 test_suites: [ 43 "general-tests", 44 "mts-conscrypt", 45 ], 46 47} 48 49android_test { 50 name: "MtsConscryptFdSocketTestCases", 51 platform_apis: true, 52 static_libs: [ 53 "conscrypt-support", 54 "conscrypt-tests", 55 "core-test-rules", 56 "ctstestrunner-axt", 57 "libcore-crypto-tests", 58 "junit", 59 ], 60 61 test_config: "FdSocket.xml", 62 min_sdk_version: "29", 63 libs: [ 64 "android.test.base.stubs", 65 ], 66 67 // Tag this module as an mts test artifact 68 test_suites: [ 69 "general-tests", 70 "mts-conscrypt", 71 ], 72 73} 74