These are example snippets and BUILD files for Bazel.
-
A recipe for configuring AOSP prebuilt toolchains for Bazel.
-
A recipe for compiling the protobuf 2.5.0 compiler with Bazel. We used this with AOSP i686 toolchain to produce the
protoc
binary in the Bazel repo. -
A BUILD file for compiling RE2.
-
An example of setting up a cross-compiler