Add setup directions for pulling android deps
1 file changed
tree: 5970a9f4b9b64ae597153ffdadcea5a8d15733f4
  1. base/
  2. build/
  3. cc/
  4. crypto/
  5. gin/
  6. gpu/
  7. mojo/
  8. net/
  9. ppapi/
  10. sdch/
  11. skia/
  12. testing/
  13. third_party/
  14. tools/
  15. ui/
  16. url/
  17. .clang-format
  18. .gitattributes
  19. .gitignore
  20. .gn
  21. AUTHORS
  22. BUILD.gn
  23. codereview.settings
  24. DEPS
  25. LICENSE
  26. PRESUBMIT.py
  27. README.md
README.md

Mojo

This repo uses gclient to manage dependencies, so to build things from this repo you have to first download depot_tools and make sure it is in your path

http://www.chromium.org/developers/how-tos/install-depot-tools

then create a file called ‘.gclient’ that has the following contents:

solutions = [
  { "name"        : "src",
    "url"         : "https://github.com/domokit/mojo.git",
    "deps_file"   : "DEPS",
    "managed"     : False,
    "safesync_url": "",
  },
]
# Include the following line only if you're interested in building for android.
target_os = ['android']

Then run ‘gclient sync’ from the directory containing the .gclient file. This will clone this repository into a subdirectory called ‘src’. From that directory, you can then build by running:

$ gn gen out/Debug
$ ninja -C out/Debug mojo