fix formatting in linux build instructions doc

This commit is contained in:
Zeke Sikelianos 2017-11-11 09:49:19 -08:00
parent 40b94e97e5
commit f0facdc01f

View file

@ -149,18 +149,19 @@ information may help you.
### Building `libchromiumcontent` locally ### Building `libchromiumcontent` locally
To avoid using the prebuilt binaries of `libchromiumcontent`, you can build `libchromiumcontent` locally. To do so, follow these steps: To avoid using the prebuilt binaries of `libchromiumcontent`, you can build `libchromiumcontent` locally. To do so, follow these steps:
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. Pass the `--build_release_libcc` switch to `bootstrap.py` script:
```bash 1. Install [depot_tools](https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md#Install)
$ ./script/bootstrap.py -v --build_release_libcc 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. Pass the `--build_release_libcc` switch to `bootstrap.py` script:
```bash
$ ./script/bootstrap.py -v --build_release_libcc
```
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:
@ -218,4 +219,4 @@ custom the building configurations:
* `LDFLAGS` * `LDFLAGS`
The environment variables have to be set when executing the `bootstrap.py` The environment variables have to be set when executing the `bootstrap.py`
script, it won't work in the `build.py` script. script, it won't work in the `build.py` script.