blob: 746e576cc3b95edfcc09e8795f39c4e7f3950aae [file] [log] [blame]
Bob Badour1a0fa802021-02-12 20:49:59 -08001package {
2 default_applicable_licenses: ["external_desugar_license"],
3}
4
5// Added automatically by a large-scale-change
6// See: http://go/android-license-faq
7license {
8 name: "external_desugar_license",
9 visibility: [":__subpackages__"],
10 license_kinds: [
11 "SPDX-license-identifier-Apache-2.0",
12 ],
13 license_text: [
14 "NOTICE",
15 ],
16}
17
Colin Cross8c363aa2017-09-13 14:56:14 +000018java_library_host {
19 name: "desugar",
20 srcs: ["java/**/*.java"],
21 // Remove com.google.devtools.common.options.testing classes, they are
22 // extensions to the Truth library that we are missing dependencies for
23 // and don't need.
24 // Also remove com.google.devtools.common.options.InvocationPolicy*,
25 // which depend on protobuf and are not used in desugar.
26 exclude_srcs: [
27 "java/com/google/devtools/common/options/testing/**/*.java",
28 "java/com/google/devtools/common/options/InvocationPolicyEnforcer.java",
29 "java/com/google/devtools/common/options/InvocationPolicyParser.java",
30 ],
31
32 manifest: "manifest.txt",
33 static_libs: [
Colin Cross24351c42017-10-20 12:57:21 -070034 "asm-6.0",
35 "asm-commons-6.0",
36 "asm-tree-6.0",
Colin Cross8c363aa2017-09-13 14:56:14 +000037 "error_prone_annotations-2.0.18",
38 "guava-21.0",
39 "jsr305-3.0.1",
40 ],
41
Colin Cross12b1f912020-06-19 13:14:40 -070042 plugins: ["auto_value_plugin"],
43 libs: ["auto_value_annotations"],
Colin Cross8c363aa2017-09-13 14:56:14 +000044}