From 459a65d296aff06a9a6183ed4499a70f8f669cd4 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 2 May 2016 16:35:33 +0900 Subject: [PATCH] docs: the --build_libchromiumcontent switch --- docs/development/build-instructions-linux.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/development/build-instructions-linux.md b/docs/development/build-instructions-linux.md index 49a78ba..870f4fc 100644 --- a/docs/development/build-instructions-linux.md +++ b/docs/development/build-instructions-linux.md @@ -130,3 +130,25 @@ Test functionality using: ```bash $ ./script/test.py ``` + +## Advanced topics + +The default building configuration is targeted for major desktop Linux +distributions, to build for a specific distribution or device, following +information may help you. + +### Build libchromiumcontent locally + +To avoid using the prebuilt binaries of libchromiumcontent, you can 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 +only build `Release` version of Electron if you use this mode: + +```bash +$ ./script/build.py -c D +``` -- 2.7.4