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
15android_test {
16    name: "CtsLibcoreOjTestCases",
17    defaults: ["cts_support_defaults"],
18    platform_apis: true,
19    static_libs: [
20        "core-ojtests-public",
21
22        // Jar containing expectations files.
23        "libcore-expectations-knownfailures-jar",
24    ],
25    libs: ["testng"],
26    dxflags: ["--core-library"],
27    dex_preopt: {
28        enabled: false,
29    },
30    optimize: {
31        enabled: false,
32    },
33    // Include both the 32 and 64 bit versions of libjavacoretests,
34    // where applicable.
35    compile_multilib: "both",
36    // Tag this module as a cts test artifact
37    test_suites: [
38        "cts",
39        "vts10",
40        "general-tests",
41        "mts",
42    ],
43}
44