summaryrefslogtreecommitdiff
path: root/dx/junit-tests/Android.bp
blob: 0b9ee742bcf2ab64c36903371a282f3b1cf91a1a (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
// Copyright 2011 The Android Open Source Project

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "dalvik_dx_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["dalvik_dx_license"],
}

java_test_host {
    name: "dx-tests",
    srcs: ["**/*.java"],
    // Avoid anything depending on this target
    visibility: ["//visibility:private"],
    java_version: "1.9",
    static_libs: [
        "dx",
    ],
    libs: [
        "junit-host",
    ],
    test_options: {
        unit_test: true,
    },
}