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

Unified Diff: headless/README.md

Issue 1845473003: headless: Replace is_headless gn setting with an args template (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: headless/README.md
diff --git a/headless/README.md b/headless/README.md
index 54e9d0ed591971948da16b0d0b2c643d7bb5c834..21473c3f87bb114e9023acfb5715f3661bb78d84 100644
--- a/headless/README.md
+++ b/headless/README.md
@@ -8,14 +8,14 @@ modern web platform features provided by Chromium and Blink.
## Headless shell
The headless shell is a sample application which demonstrates the use of the
-headless API. To run it, first open the build configuration editor:
+headless API. To run it, first initialize a headless build configuration:
```
-$ gn args out/Release
+$ mkdir -p out/Release
+$ echo 'import("//build/args/headless.gn")' > out/Release/args.gn
+$ gn gen out/Release
Dirk Pranke 2016/03/31 01:47:30 //build/args/headless.gn in this patchset will pro
Sami 2016/03/31 09:43:02 Ah, good point. Changed this to talk about debug i
```
-and enable headless mode with `is_headless = true`.
-
Then build the shell:
```
« build/args/headless.gn ('K') | « build/config/ui.gni ('k') | media/media_options.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698