• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2011 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_visibility: ["//visibility:private"],
17}
18
19java_test {
20    name: "apache-harmony-tests",
21    visibility: [
22        "//cts/tests/libcore/luni",
23    ],
24    hostdex: true,
25    srcs: [
26        "beans/src/test/java/**/*.java",
27        "logging/src/test/java/**/*.java",
28        "luni/src/test/java/**/*.java",
29        "sql/src/test/java/**/*.java",
30        "support/src/test/java/**/*.java",
31
32        "beans/src/test/support/java/**/*.java",
33        "logging/src/test/support/java/**/*.java",
34        "luni/src/test/support/java/**/*.java",
35        "sql/src/test/support/java/**/*.java",
36        "support/src/test/support/java/**/*.java",
37
38        "luni/src/test/api/common/**/*.java",
39        "luni/src/test/api/unix/**/*.java",
40        "luni/src/test/impl/common/**/*.java",
41        "luni/src/test/impl/unix/**/*.java",
42    ],
43    java_resource_dirs: [
44        "beans/src/test/resources",
45        "logging/src/test/resources",
46        "sql/src/test/resources",
47        "support/src/test/resources",
48    ],
49    sdk_version: "none",
50    system_modules: "core-all-system-modules",
51    libs: [
52        "junit",
53    ],
54    static_libs: [
55        "core-tests-support",
56    ],
57    javacflags: ["-Xmaxwarns 9999999"],
58    // Pin java_version until jarjar is certified to support later versions. http://b/72703434
59    java_version: "1.8",
60
61    // b/73499927
62    errorprone: {
63        javacflags: ["-Xep:MissingOverride:OFF"],
64    },
65}
66