• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//#############################################
2// Compile Robolectric utils
3//#############################################
4
5package {
6    // See: http://go/android-license-faq
7    // A large-scale-change added 'default_applicable_licenses' to import
8    // all of the 'license_kinds' from "external_robolectric_license"
9    // to get the below license kinds:
10    //   SPDX-license-identifier-Apache-2.0
11    default_applicable_licenses: ["external_robolectric_license"],
12}
13
14java_library_host {
15    name: "Robolectric_pluginapi",
16    srcs: ["src/main/java/**/*.java"],
17    static_libs: [
18        "robolectric-javax.annotation-api-1.2",
19        "Robolectric_annotations",
20        "guava",
21        "jsr330",
22        "jsr305",
23    ],
24}
25
26//#############################################
27// Compile Robolectric utils tests
28//#############################################
29
30java_test_host {
31    name: "Robolectric_pluginapi_tests",
32    srcs: ["src/test/java/**/*.java"],
33    static_libs: [
34        "Robolectric_pluginapi",
35        "hamcrest",
36        "guava",
37        "junit",
38        "truth",
39    ],
40    test_suites: ["general-tests"],
41}
42