Feat: runtime profile override with getenv
[platform/framework/web/chromium-efl.git] / headless / headless.gni
1 # Copyright 2017 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 declare_args() {
6   # Embed resource.pak file into the binary for easier distribution.
7   headless_use_embedded_resources = false
8
9   # Enable support for --screenshot, --print-to-pdf and --dump-dom commands
10   # Note: this option is not available if |headless_use_embedded_resources|.
11   headless_enable_commands = true
12
13   # Use Prefs component to access Local State and other preferences.
14   headless_use_prefs = true
15
16   # Use Policy component to manage preferences.
17   headless_use_policy = true
18
19   # Platforms where headless mode is supported.
20   headless_mode_policy_supported = !is_android && !is_ios && !is_chromeos
21 }