Skip to Content
Beginning Bazel: Building and Testing for Java, Go, and More
book

Beginning Bazel: Building and Testing for Java, Go, and More

by P.J. McNerney
December 2019
Beginner to intermediate
197 pages
3h 32m
English
Apress
Content preview from Beginning Bazel: Building and Testing for Java, Go, and More
© P.J. McNerney 2020
P. McNerneyBeginning Bazelhttps://doi.org/10.1007/978-1-4842-5194-2_9

9. Bazel and Android

P. J. McNerney1 
(1)
Blackhawk, CO, USA
 

In the prior chapters, you used Bazel to develop functionality that would most likely be deployed to some backend server. However, Bazel can be (and is) used for more than just backend projects, able to handle mobile clients as well. In this chapter, we will explore using Bazel to build Android applications.

Setup

As previously, we will be building off of our prior chapters. Again, first verify that all of the Bazel-generated files are eliminated. Then, copy the work from the last chapter:
$ cd chapter_08
chapter_08$ bazel clean
chapter_08$ ls
WORKSPACE   client    proto   server
chapter_08$ cd ..
$ cp -rf ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Jenkins 2.x Continuous Integration Cookbook - Third Edition

Jenkins 2.x Continuous Integration Cookbook - Third Edition

Mitesh Soni, Alan Mark Berg

Publisher Resources

ISBN: 9781484251942Purchase LinkPublisher Website