Add checkout directions to README
1 file changed
tree: 79acfaab45b01d8cca634ff0cacca7f92a104934
  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. DEPS
  24. LICENSE
  25. PRESUBMIT.py
  26. 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": "",
  },
]

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 doing

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