Native (C++) binaries and dependencies used by preformance tools insfrastructure.
bazelin your path, and it should point to
bazel build ...
By default, our builds are configured to optimize for build speed, somewhere between debug and release builds.
bazel build --config release ...
release config is defined in
.../tools/bazel.rc and automatically supplies various parameters, such as
-c opt, to ensure all binaries are optimized.
bazel build -c dbg ...
You can use the
-c dbg option with any of the following sections as well, if necessary.
bazel build perfa:libperfa.so perfd:perfd
bazel build perfa:android perfd:android
bazel test ...
By default and for convenience, our bazel configuration is set up to always build all Android ABIs. If for some reason you want to restrict the build to a particular one, edit
.../tools/bazel.rc and change the following line:
For example, for emulator only:
Of course, this is for development only. Don't check in such changes.