commit | d775045f3597ca162ba4457c43d4481d4747495b | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Fri Sep 29 14:38:51 2017 +0100 |
committer | Primiano Tucci <primiano@google.com> | Fri Sep 29 14:38:51 2017 +0100 |
tree | 2dc1be7114e6028643f30f00bcb52e32c56c502f | |
parent | 0825bc835bd954784adee5a1c563c0b8d1cac664 [diff] |
Add Android emulator support Add prebuilts and scripts for the Android emulator and all the required SDK harness. Also introduces a run_android_emulator script that sets up the necessary .avd files and starts the emulator using the configuration files checked in into //build/android_emulators. In the next CLs this will be wired up to tests. Change-Id: I56b7cecaaea48ab5f28682c2f341f443c04b134b
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.