Update with better instructions for building libchromiumcontent
This commit is contained in:
parent
c62d1bbf41
commit
b17d34a88c
1 changed files with 17 additions and 5 deletions
|
@ -148,12 +148,24 @@ information may help you.
|
||||||
|
|
||||||
### Building `libchromiumcontent` locally
|
### Building `libchromiumcontent` locally
|
||||||
|
|
||||||
To avoid using the prebuilt binaries of `libchromiumcontent`, you can pass the
|
To avoid using the prebuilt binaries of `libchromiumcontent`, you can build `libchromiumcontent` locally. To do so, follow these steps:
|
||||||
`--build_libchromiumcontent` switch to `bootstrap.py` script:
|
1. Install [depot_tools](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md#Install)
|
||||||
|
2. Install [additional build dependencies](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md#Install-additional-build-dependencies)
|
||||||
|
3. Fetch the git submodules:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git submodule update --init --recursive
|
||||||
|
```
|
||||||
|
4. Copy the .gclient config file
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./script/bootstrap.py -v --build_libchromiumcontent
|
$ cp vendor/libchromiumcontent/.gclient .
|
||||||
```
|
```
|
||||||
|
5. Pass the `--build_libchromiumcontent` switch to `bootstrap.py` script:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ./script/bootstrap.py -v --build_libchromiumcontent
|
||||||
|
```
|
||||||
|
|
||||||
Note that by default the `shared_library` configuration is not built, so you can
|
Note that by default the `shared_library` configuration is not built, so you can
|
||||||
only build `Release` version of Electron if you use this mode:
|
only build `Release` version of Electron if you use this mode:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue