summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp22
1 files changed, 19 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 5db843c..746e576 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,20 @@
+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"],
@@ -22,7 +39,6 @@ java_library_host {
"jsr305-3.0.1",
],
- // Use Dagger2 annotation processor
- plugins: ["dagger2-auto-value"],
- libs: ["dagger2-auto-value"],
+ plugins: ["auto_value_plugin"],
+ libs: ["auto_value_annotations"],
}