aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/android
diff options
context:
space:
mode:
authorGravatar ajmichael <ajmichael@google.com>2017-11-16 09:37:13 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-11-16 09:39:11 -0800
commitf241929014afa80a99be572275464ea126bac94e (patch)
treee9bfa31d393668dcc1263b739648fab0ab4834ed /tools/android
parent3651c90c72e4cf57dd2b26600ea825064f720fdb (diff)
Build databinding annotation processor in host configuration.
Also, add a fake databinding processor target. Bazel users will need to do something like this: # WORKSPACE local_repository( name = "databinding", path = "./databinding", ) bind( name = "databinding_annotation_processor", actual = "@databinding//:annotation_processor", ) # databinding/BUILD java_plugin( name = "annotation_processor", ... ) ... https://github.com/bazelbuild/bazel/issues/2694 RELNOTES: None PiperOrigin-RevId: 175975110
Diffstat (limited to 'tools/android')
-rw-r--r--tools/android/BUILD.tools6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/android/BUILD.tools b/tools/android/BUILD.tools
index 6826d52235..11501b9657 100644
--- a/tools/android/BUILD.tools
+++ b/tools/android/BUILD.tools
@@ -249,9 +249,13 @@ filegroup(
alias(
name = "databinding_annotation_processor",
- actual = "@android_databinding//:annotation_processor",
+ actual = "//external:databinding_annotation_processor",
)
+# This is the default value of databinding_annotation_processor if the user does
+# not provide one.
+filegroup(name = "empty")
+
alias(
name = "jarjar_bin",
actual = "//third_party/java/jarjar:jarjar_bin",