| Index: blimp/docs/build.md
|
| diff --git a/blimp/docs/build.md b/blimp/docs/build.md
|
| index 425ad370b8513e47169b4033dc961a8658d8c4f7..1e81b80973cf8bc1eaf497c0d1e1f320f7f43f63 100644
|
| --- a/blimp/docs/build.md
|
| +++ b/blimp/docs/build.md
|
| @@ -12,18 +12,8 @@ Create an out-directory and set the GN args:
|
|
|
| ```bash
|
| mkdir -p out-android/Debug
|
| -gn args out-android/Debug
|
| -```
|
| -
|
| -This will bring up an editor, where you can type in the following:
|
| -
|
| -```bash
|
| -target_os = "android"
|
| -is_debug = true
|
| -is_clang = true
|
| -is_component_build = true
|
| -symbol_level = 1 # Use -g1 instead of -g2
|
| -use_goma = true
|
| +echo "import(\"//build/args/blimp_client.gn\")" > out-android/Debug/args.gn
|
| +gn gen out-android/Debug
|
| ```
|
|
|
| To build:
|
| @@ -39,34 +29,31 @@ ninja -C out-android/Debug blimp blimp_apk_incremental &&
|
| out-android/Debug/bin/install_blimp_apk_incremental
|
| ```
|
|
|
| +To add your own build preferences
|
| +```bash
|
| +gn args out-android/Debug
|
| +```
|
| +
|
| ## Engine inside a Docker container
|
|
|
| Create another out-directory and set the GN args. Note, when building to run
|
| inside a [Docker container](container.md) you'll need to set the target_os to "chromeos":
|
|
|
| ```bash
|
| -mkdir -p out-chromeos/Debug
|
| -gn args out-chromeos/Debug
|
| +mkdir -p out-docker/Debug
|
| +echo "import(\"//build/args/blimp_engine_containerized.gn\")" > out-docker/Debug/args.gn
|
| +gn gen out-docker/Debug
|
| ```
|
|
|
| -This will bring an editor, where you can type in the following:
|
| +To build:
|
|
|
| ```bash
|
| -target_os = "chromeos"
|
| -is_debug = true
|
| -is_clang = true
|
| -symbol_level = 1 # Use -g1 instead of -g2
|
| -use_goma = true
|
| -use_aura = true
|
| -use_ozone = true
|
| -use_alsa = false
|
| -use_pulseaudio = false
|
| +ninja -C out-docker/Debug blimp
|
| ```
|
|
|
| -To build:
|
| -
|
| +To add your own build preferences
|
| ```bash
|
| -ninja -C out-chromeos/Debug blimp
|
| +gn args out-docker/Debug
|
| ```
|
|
|
| ## "Bare" engine, no Docker container
|
| @@ -75,23 +62,17 @@ Create another out-directory and set the GN args:
|
|
|
| ```bash
|
| mkdir -p out-linux/Debug
|
| -gn args out-linux/Debug
|
| +echo "import(\"//build/args/blimp_engine.gn\")" > out-linux/Debug/args.gn
|
| +gn gen out-linux/Debug
|
| ```
|
|
|
| -This will bring an editor, where you can type in the following:
|
| +To build:
|
|
|
| ```bash
|
| -is_debug = true
|
| -is_clang = true
|
| -is_component_build = true
|
| -symbol_level = 1 # Use -g1 instead of -g2
|
| -use_goma = true
|
| -use_aura = true
|
| -use_ozone = true
|
| +ninja -C out-linux/Debug blimp
|
| ```
|
|
|
| -To build:
|
| -
|
| +To add your own build preferences
|
| ```bash
|
| -ninja -C out-linux/Debug blimp
|
| +gn args out-android/Debug
|
| ```
|
|
|