• 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-shadows_license"
9    // to get the below license kinds:
10    //   SPDX-license-identifier-Apache-2.0
11    default_applicable_licenses: ["external_robolectric-shadows_license"],
12}
13
14java_library_host {
15    name: "Robolectric_utils",
16    srcs: ["src/main/java/**/*.java"],
17}
18
19//#############################################
20// Compile Robolectric utils tests
21//#############################################
22
23java_test_host {
24    name: "Robolectric_utils_tests",
25    srcs: ["src/test/java/**/*.java"],
26    static_libs: [
27        "Robolectric_utils",
28        "hamcrest",
29        "guava",
30        "junit",
31        "truth-prebuilt",
32    ],
33    test_suites: ["general-tests"],
34}
35