commit | d47033982b02a9d600ca7dac0c912f3b2cf6783d | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Fri Sep 29 16:25:52 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Fri Sep 29 16:25:52 2017 +0000 |
tree | 2dc1be7114e6028643f30f00bcb52e32c56c502f | |
parent | 926b0d44f69b0c7972c971456ffeb67b5965ccc2 [diff] | |
parent | d775045f3597ca162ba4457c43d4481d4747495b [diff] |
Add Android emulator support am: d775045f35 Change-Id: I2d598a4d404eb84c354a5195b439c8b8d61a8772
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.