Skip to content

Commit

Permalink
Add instructions for building Chrobalt
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsavage1 committed Aug 6, 2024
1 parent 4504fd0 commit cad594e
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
# ![Logo](chrome/app/theme/chromium/product_logo_64.png) Chromium
# ![Logo](chrome/app/theme/chromium/product_logo_64.png) Chrobalt Sandbox

Chromium is an open-source browser project that aims to build a safer, faster,
and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.
This is Cobalt's repo for testing changes as we move to Chrobalt.

To check out the source code locally, don't use `git clone`! Instead,
follow [the instructions on how to get the code](docs/get_the_code.md).
Then add chrobalt_sandbox as a remote and fetch it:

Documentation in the source is rooted in [docs/README.md](docs/README.md).
```shell
cd src
git remote add chrobalt_sandbox git@github.com:youtube/chrobalt_sandbox.git
git fetch chrobalt_sandbox
git checkout -b dev/m114 chrobalt_sandbox/dev/m114
gclient sync -r $(git rev-parse HEAD)
```

Learn how to [Get Around the Chromium Source Code Directory Structure
](https://www.chromium.org/developers/how-tos/getting-around-the-chrome-source-code).
Then to build linux:

For historical reasons, there are some small top level directories. Now the
guidance is that new top level directories are for product (e.g. Chrome,
Android WebView, Ash). Even if these products have multiple executables, the
code should be in subdirectories of the product.
```shell
gn gen out/Default
cp chrobalt/linux/args.gn out/Default/
gn gen out/Default
ninja -C out/Default base_unittests
```

If you found a bug, please file it at https://crbug.com/new.
Replacing `base_unittests` with whatever target you want to build.

0 comments on commit cad594e

Please sign in to comment.