commit | 88a1011822e207144568fdf543e804e5d4405c50 | [log] [tgz] |
---|---|---|
author | Hector Dearman <hjd@google.com> | Thu Oct 12 11:07:10 2017 +0100 |
committer | Hector Dearman <hjd@google.com> | Thu Oct 12 11:07:10 2017 +0100 |
tree | e807c4e149e902c883da3e2d2f86a3d81fed9bc7 | |
parent | f07c8595254c505bd76026c37ec5f2a55b491f80 [diff] |
Add benchmark library Add https://github.com/google/benchmark to buildtools with matching BUILD rules and an example under libtracing/hello_world_benchmark.cc. Change-Id: Iba39983a6e2b69f0706d0996202802a9cfce3f10
If you are a chromium developer and have depot_tools installed you can avoid the build/
prefix below and just use gn/ninja from depot_tools.
build/install-build-deps
to install third-party build deps (NDK etc)build/gn args out/android
to generate build files and enter in the editor:target_os = "android" # or "linux" for local testing target_cpu = "arm" # or "arm64" is_debug = true # or false for release
build/ninja -C out/android all
TODO. The plan is to autogenerate the Android.bp build files from the master GN build files (or temporarily maintain both until we can autogenerate them). Will come in next CLs.