I was reading about the Android Testing Samples project and noticed that a "new" build tool named Bazel is being used for building Android projects:
Experimental Bazel Support
Some of these samples can be built with Bazel on Linux. These samples contain a
BUILD.bazelfile, which is similar to abuild.gradlefile. The external dependencies are defined in the top level WORKSPACE file.This is experimental feature. To run the tests, please install the latest version of Bazel (0.12.0 or later) by following the instructions on the Bazel website.
Then,
- What is the added advantage of using Bazel over the existing Gradle?
- Is it really good to have TWO build tools for Android?
- Does it mean that Android developers will probably need to learn this new build tool in future?
Update #1: Updated with accepted answer from farhana and thanks to Jin for the in depth details about the google build systems.
Update #2: Updated with google code labs for bazel android introduction.