xref: /aosp_15_r20/external/conscrypt/apex/testing/Android.bp (revision cd0cc2e34ba52cdf454361820a14d744e4bd531d)
1*cd0cc2e3SAndroid Build Coastguard Worker// Copyright (C) 2019 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 Workerpackage {
16*cd0cc2e3SAndroid Build Coastguard Worker    // See: http://go/android-license-faq
17*cd0cc2e3SAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
18*cd0cc2e3SAndroid Build Coastguard Worker    // all of the 'license_kinds' from "external_conscrypt_license"
19*cd0cc2e3SAndroid Build Coastguard Worker    // to get the below license kinds:
20*cd0cc2e3SAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
21*cd0cc2e3SAndroid Build Coastguard Worker    default_applicable_licenses: ["external_conscrypt_license"],
22*cd0cc2e3SAndroid Build Coastguard Worker}
23*cd0cc2e3SAndroid Build Coastguard Worker
24*cd0cc2e3SAndroid Build Coastguard Workerapex_test {
25*cd0cc2e3SAndroid Build Coastguard Worker    name: "test_com.android.conscrypt",
26*cd0cc2e3SAndroid Build Coastguard Worker    visibility: [
27*cd0cc2e3SAndroid Build Coastguard Worker        "//system/apex/tests",
28*cd0cc2e3SAndroid Build Coastguard Worker        "//vendor:__subpackages__",
29*cd0cc2e3SAndroid Build Coastguard Worker    ],
30*cd0cc2e3SAndroid Build Coastguard Worker    defaults: ["com.android.conscrypt-defaults"],
31*cd0cc2e3SAndroid Build Coastguard Worker    manifest: "test_apex_manifest.json",
32*cd0cc2e3SAndroid Build Coastguard Worker    file_contexts: ":com.android.conscrypt-file_contexts",
33*cd0cc2e3SAndroid Build Coastguard Worker    // Test APEX, should never be installed
34*cd0cc2e3SAndroid Build Coastguard Worker    installable: false,
35*cd0cc2e3SAndroid Build Coastguard Worker}
36