xref: /aosp_15_r20/external/conscrypt/test-support/Android.bp (revision cd0cc2e34ba52cdf454361820a14d744e4bd531d)
1*cd0cc2e3SAndroid Build Coastguard Worker// Copyright (C) 2020 The Android Open Source Project
2*cd0cc2e3SAndroid Build Coastguard Worker//
3*cd0cc2e3SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
4*cd0cc2e3SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
5*cd0cc2e3SAndroid Build Coastguard Worker// You may obtain a copy of the License at
6*cd0cc2e3SAndroid Build Coastguard Worker//
7*cd0cc2e3SAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
8*cd0cc2e3SAndroid Build Coastguard Worker//
9*cd0cc2e3SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
10*cd0cc2e3SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
11*cd0cc2e3SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*cd0cc2e3SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
13*cd0cc2e3SAndroid Build Coastguard Worker// limitations under the License.
14*cd0cc2e3SAndroid Build Coastguard Worker
15*cd0cc2e3SAndroid Build Coastguard Worker// Conscrypt test support classes.
16*cd0cc2e3SAndroid Build Coastguard Workerpackage {
17*cd0cc2e3SAndroid Build Coastguard Worker    // See: http://go/android-license-faq
18*cd0cc2e3SAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
19*cd0cc2e3SAndroid Build Coastguard Worker    // all of the 'license_kinds' from "external_conscrypt_license"
20*cd0cc2e3SAndroid Build Coastguard Worker    // to get the below license kinds:
21*cd0cc2e3SAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
22*cd0cc2e3SAndroid Build Coastguard Worker    default_applicable_licenses: ["external_conscrypt_license"],
23*cd0cc2e3SAndroid Build Coastguard Worker}
24*cd0cc2e3SAndroid Build Coastguard Worker
25*cd0cc2e3SAndroid Build Coastguard Workerjava_library {
26*cd0cc2e3SAndroid Build Coastguard Worker    name: "conscrypt-support",
27*cd0cc2e3SAndroid Build Coastguard Worker    visibility: [
28*cd0cc2e3SAndroid Build Coastguard Worker        "//cts/tests/libcore/luni",
29*cd0cc2e3SAndroid Build Coastguard Worker        "//external/conscrypt/apex/tests",
30*cd0cc2e3SAndroid Build Coastguard Worker    ],
31*cd0cc2e3SAndroid Build Coastguard Worker    srcs: [
32*cd0cc2e3SAndroid Build Coastguard Worker        "src/java/**/*.java",
33*cd0cc2e3SAndroid Build Coastguard Worker    ],
34*cd0cc2e3SAndroid Build Coastguard Worker    libs: ["junit"],
35*cd0cc2e3SAndroid Build Coastguard Worker    static_libs: [
36*cd0cc2e3SAndroid Build Coastguard Worker        "androidx.test.runner",
37*cd0cc2e3SAndroid Build Coastguard Worker    ],
38*cd0cc2e3SAndroid Build Coastguard Worker}
39