aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 33402cc4a1cc3fac526f5250bd9212225483b738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

java_library {
    name: "TestParameterInjector",
    srcs: [
        "src/main/java/**/*.java",
    ],
    static_libs: [
        "guava",
        "auto_value_annotations",
        "junit",
        "libprotobuf-java-lite",
        "snakeyaml",
    ],
    plugins: [
        "auto_value_plugin",
        "auto_annotation_plugin",
    ],
    host_supported: true,
}

java_test_host {
    name: "TestParameterInjectorTest",
    srcs: ["src/test/java/**/*.java"],
    static_libs: [
        "TestParameterInjector",
        "truth",
    ],
    test_options: {
        unit_test: true,
    },
}