commit | 0825bc835bd954784adee5a1c563c0b8d1cac664 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Thu Sep 28 18:50:23 2017 +0100 |
committer | Primiano Tucci <primiano@google.com> | Thu Sep 28 18:50:23 2017 +0100 |
tree | ec62c76cfe730f9fa3f0ce0422768aaa0091f735 | |
parent | ae2879e9cc05e716a208420e238d9980016a5981 [diff] |
Add support for llvm-based sanitizers. Adds initial support for Asan/Lsan/Msan/Tsan for unbundled builds. This CL also introduced a build_all_configs.py script to ease local debugging, allowing to build several build configs in one go and makes some minor improvements to the unbundled build files. Change-Id: I7c374ffc00c55907e0e8b291b2e7e6140697c290
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.