Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3220)

Unified Diff: blimp/docs/build.md

Issue 1751433002: Update build args for containerized engine to target linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unrelated commit on branch. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/docs/build.md
diff --git a/blimp/docs/build.md b/blimp/docs/build.md
index 425ad370b8513e47169b4033dc961a8658d8c4f7..d67f2a90d63f60d10bf4169d0de0a1fbac9d2500 100644
--- a/blimp/docs/build.md
+++ b/blimp/docs/build.md
@@ -42,17 +42,18 @@ ninja -C out-android/Debug blimp blimp_apk_incremental &&
## 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":
+inside a [Docker container](container.md) you'll need to turn off several
+dependencies:
```bash
-mkdir -p out-chromeos/Debug
-gn args out-chromeos/Debug
+mkdir -p out-docker/Debug
+gn args out-docker/Debug
```
This will bring an editor, where you can type in the following:
```bash
-target_os = "chromeos"
+target_os = "linux"
is_debug = true
is_clang = true
symbol_level = 1 # Use -g1 instead of -g2
@@ -61,12 +62,14 @@ use_aura = true
use_ozone = true
use_alsa = false
use_pulseaudio = false
+use_cups = false
+use_glib = false
```
To build:
```bash
-ninja -C out-chromeos/Debug blimp
+ninja -C out-docker/Debug blimp
```
## "Bare" engine, no Docker container
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698