0

Update Chrome OS build instructions

Adds a note about properly configuring .gclient

Bug: None
Change-Id: I8ef7f054b283cf4d2c22e89e1436503504701358
Reviewed-on: https://chromium-review.googlesource.com/1039152
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555305}
This commit is contained in:
Ken Rockot
2018-05-02 04:02:37 +00:00
committed by Commit Bot
parent e6197b56a3
commit a21ef76721

@ -14,6 +14,26 @@ First, follow the [normal Linux build
instructions](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md)
as usual to get a Chromium checkout.
## Updating your gclient config
Chromium OS builds of Chromium require some additional build dependencies which
can be synced by adding `'chromeos'` to the `target_os` list in your `.gclient`
configuration. This file is located one level up from your Chromium checkout's
`src`.
If you don't already have a `target_os` line present, simply add this to the
end of the `.gclient` file:
target_os = ['chromeos']
If you already have a `target_os` line present in your `.gclient file`, you can
simply append `'chromeos'` to the existing list there. For example:
target_os = ['android', 'chromeos']
Once your `.gclient` file is updated, you will need to run `gclient sync` once
before proceeding with the rest of these instructions.
## Building and running Chromium with Chromium OS UI on your local machine
Run the following in your chromium checkout: