xref: /aosp_15_r20/cts/tests/libcore/jsr166/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2016 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    default_team: "trendy_team_java_core_libraries",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsLibcoreJsr166TestCases",
22    defaults: ["cts_support_defaults"],
23    platform_apis: true,
24    static_libs: [
25        "cts-core-test-runner-axt",
26        "jsr166-tests",
27
28        // Jar containing expectations files.
29        "libcore-expectations-knownfailures-jar",
30    ],
31    dex_preopt: {
32        enabled: false,
33    },
34    optimize: {
35        enabled: false,
36    },
37    min_sdk_version: "31",
38    target_sdk_version: "31",
39    // Tag this module as a cts test artifact
40    test_suites: [
41        "cts",
42        "general-tests",
43        "mts-art",
44        "mcts-art",
45    ],
46    host_required: ["cts-dalvik-host-test-runner"],
47    sdk_version: "test_current",
48}
49
50test_module_config {
51    name: "CtsLibcoreJsr166TestCases_jsr166",
52    base: "CtsLibcoreJsr166TestCases",
53    test_suites: ["general-tests"],
54    include_filters: ["jsr166"],
55}
56