You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
45 lines
1.3 KiB
4 months ago
|
package {
|
||
|
default_applicable_licenses: ["external_desugar_license"],
|
||
|
}
|
||
|
|
||
|
// Added automatically by a large-scale-change
|
||
|
// See: http://go/android-license-faq
|
||
|
license {
|
||
|
name: "external_desugar_license",
|
||
|
visibility: [":__subpackages__"],
|
||
|
license_kinds: [
|
||
|
"SPDX-license-identifier-Apache-2.0",
|
||
|
],
|
||
|
license_text: [
|
||
|
"NOTICE",
|
||
|
],
|
||
|
}
|
||
|
|
||
|
java_library_host {
|
||
|
name: "desugar",
|
||
|
srcs: ["java/**/*.java"],
|
||
|
// Remove com.google.devtools.common.options.testing classes, they are
|
||
|
// extensions to the Truth library that we are missing dependencies for
|
||
|
// and don't need.
|
||
|
// Also remove com.google.devtools.common.options.InvocationPolicy*,
|
||
|
// which depend on protobuf and are not used in desugar.
|
||
|
exclude_srcs: [
|
||
|
"java/com/google/devtools/common/options/testing/**/*.java",
|
||
|
"java/com/google/devtools/common/options/InvocationPolicyEnforcer.java",
|
||
|
"java/com/google/devtools/common/options/InvocationPolicyParser.java",
|
||
|
],
|
||
|
|
||
|
manifest: "manifest.txt",
|
||
|
static_libs: [
|
||
|
"asm-6.0",
|
||
|
"asm-commons-6.0",
|
||
|
"asm-tree-6.0",
|
||
|
"error_prone_annotations-2.0.18",
|
||
|
"guava-21.0",
|
||
|
"jsr305-3.0.1",
|
||
|
],
|
||
|
|
||
|
plugins: ["auto_value_plugin"],
|
||
|
libs: ["auto_value_annotations"],
|
||
|
}
|