android_databinding

104 views
Skip to first unread message

tnor...@gmail.com

unread,
Mar 14, 2017, 9:27:25 PM3/14/17
to bazel-discuss
How do I enable databinding for android builds? I see you have android_databinding including in your source but I'm not connecting the dots

Greg Estren

unread,
Mar 15, 2017, 1:27:57 PM3/15/17
to tnor...@gmail.com, bazel-discuss
Hi Travis,

At the moment we have the logic in Bazel to support data binding, but this doesn't work without having the data binding support libs checked into standardized places in the repo.  There's still some discussion about where exactly they should be to make everything work naturally.

We don't have a github bug to track this but I'm glad to create one if you'd like to follow it. Are you just experimenting with the feature or do you have specific needs for it?

Cheers,
Greg

On Tue, Mar 14, 2017 at 9:27 PM <tnor...@gmail.com> wrote:
How do I enable databinding for android builds?  I see you have android_databinding including in your source but I'm not connecting the dots

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/0e3d48b1-7d7e-46ce-8d01-8e1c3aff3148%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Travis Roberson

unread,
Mar 15, 2017, 1:42:10 PM3/15/17
to Greg Estren, bazel-discuss

Hey Greg,

Thanks for the response!   I've got a fairly complex AS project with large native libraries I'm looking to cut down slow gradle incremental build times by migrating to Bazel.

So currently can I just include the two databind libraries and be up and running or is there more config needed?

It would be super awesome if you can spin this up for for a future release :)

Thanks!

Greg Estren

unread,
Mar 15, 2017, 2:40:51 PM3/15/17
to Travis Roberson, bazel-discuss
It's a little more complex than that. We'll have to export some hooks to the libs here and here. We already have the code for that but it's not yet exported outside Google.

If you're willing to experiment with staging the data binding support libraries yourself we can get you experimenting with it even before the feature is "officially" available. You'll just have to accept setting up those libs will be a bit of a pain right now. :)  And, to be clear, exactly which libraries and "android_databinding" references were you referring to?

I'll set up the github bug for further collaboration.


Greg Estren

unread,
Mar 16, 2017, 5:55:03 PM3/16/17
to Travis Roberson, bazel-discuss
Okay, check out https://github.com/bazelbuild/bazel/issues/2694

We won't get to this tomorrow, but we can at least get the exported hooks I described into the pipeline in the next few weeks. If you're anxious to try this sooner let me know on the bug and I'l adjust the priority.

tova...@gmail.com

unread,
Mar 17, 2017, 3:11:45 PM3/17/17
to bazel-discuss
Con cặt nè con điếm kim vân ..mẹ m ..bjt t la ai rui chứ gi..t khong tha cho mày đâu con đĩ lừa
Reply all
Reply to author
Forward
0 new messages