forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions for building Chrobalt
- Loading branch information
1 parent
4504fd0
commit cad594e
Showing
1 changed file
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [email protected]: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. |