• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2012 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_build",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20java_test_host {
21    name: "tf-contrib-tests",
22    // Nothing should dependent on contrib tests
23    visibility: ["//visibility:private"],
24    // Only compile source java files in this lib.
25    srcs: ["src/**/*.java"],
26
27    // b/267831518: Pin tradefed and dependencies to Java 11.
28    java_version: "11",
29
30    javacflags: [
31        "-g",
32        "-Xlint",
33    ],
34
35    static_libs: [
36        "tradefed",
37        "tradefed-contrib",
38        "easymock",
39        "mockito",
40        "objenesis",
41        "loganalysis",
42    ],
43    test_options: {
44        unit_test: true,
45    },
46}
47