diff options
author | skyostil <skyostil@chromium.org> | 2015-11-11 08:24:25 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-11 16:24:57 +0000 |
commit | a557457caccb3c0f60e5d35ccc8c55af5849d76a (patch) | |
tree | 03e2197f713626b050ed9ff0270780a09ee27aa8 /build/config/headless_build.gni | |
parent | 43d2d6b6853ee7f58e6effa53891c5ec999d6a62 (diff) | |
download | chromium_src-a557457caccb3c0f60e5d35ccc8c55af5849d76a.zip chromium_src-a557457caccb3c0f60e5d35ccc8c55af5849d76a.tar.gz chromium_src-a557457caccb3c0f60e5d35ccc8c55af5849d76a.tar.bz2 |
headless: Add gn setting headless mode
The is_headless setting configures the build in the same
way as the embedded flag in gyp.
Contributions by Alexander Timin <altimin@chromium.org> and
Alex Clarke <alexclarke@chromium.org>.
BUG=546953,318413
Review URL: https://codereview.chromium.org/1410883007
Cr-Commit-Position: refs/heads/master@{#359096}
Diffstat (limited to 'build/config/headless_build.gni')
-rw-r--r-- | build/config/headless_build.gni | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/config/headless_build.gni b/build/config/headless_build.gni new file mode 100644 index 0000000..1788b25 --- /dev/null +++ b/build/config/headless_build.gni @@ -0,0 +1,8 @@ +# Copyright 2015 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +declare_args() { + # Configure the build for headless mode. See crbug.com/546953. + is_headless = false +} |