• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3    default_visibility: [
4        "//external/robolectric:__subpackages__",
5    ],
6}
7
8team {
9    name: "Android_Platform_Developer_Experience",
10    trendy_team_id: "5677977168281600",
11}
12
13java_library_host {
14    name: "ClearcutJunitListener",
15    srcs: ["src/main/java/**/*.java"],
16    static_libs: [
17        "asuite_proto_java_lite",
18        "libprotobuf-java-lite",
19        "auto_service_annotations",
20        "junit",
21    ],
22    plugins: ["auto_service_plugin"],
23    //limit to jdk 11 in case we ever make tradefed use this instead.
24    java_version: "11",
25}
26
27//#############################################
28// Compile Robolectric robolectric tests
29//#############################################
30java_test_host {
31    name: "TestClearcutJunitListener",
32    team: "Android_Platform_Developer_Experience",
33    srcs: ["src/test/java/**/*.java"],
34    java_resource_dirs: ["src/test/resources"],
35    static_libs: [
36        "ClearcutJunitListener",
37        "truth-1.4.0-prebuilt",
38        "guava",
39        "jsr305",
40    ],
41    //test_options: {
42    //    unit_test: false,
43    //},
44}
45