xref: /aosp_15_r20/external/bouncycastle/mts/Android.bp (revision 4e4b8e5883c385eeacd42791bab3326d1395de26)
1//
2// Copyright (C) 2023 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
17package {
18    default_visibility: ["//visibility:private"],
19    default_applicable_licenses: ["external_bouncycastle_license"],
20}
21
22// Tests used in ART MTS.
23android_test {
24    name: "MtsLibcoreBouncyCastleTestCases",
25    platform_apis: true,
26    min_sdk_version: "31",
27    manifest: "AndroidManifest.xml",
28    static_libs: [
29        "bouncycastle-test-lib",
30        "cts-core-test-runner-axt",
31    ],
32    dex_preopt: {
33        enabled: false,
34    },
35    optimize: {
36        enabled: false,
37    },
38    test_suites: [
39        "general-tests",
40        "mts-art",
41    ],
42    host_required: ["cts-dalvik-host-test-runner"],
43    test_config: "MtsLibcoreBouncyCastleTestCases.xml",
44}
45