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

Side by Side Diff: build/config/features.gni

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Missing file Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # ============================================= 5 # =============================================
6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 6 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
7 # ============================================= 7 # =============================================
8 # 8 #
9 # These flags are effectively global. Your feature flag should go near the 9 # These flags are effectively global. Your feature flag should go near the
10 # code it controls. Most of these items are here now because they control 10 # code it controls. Most of these items are here now because they control
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 safe_browsing_mode = 2 69 safe_browsing_mode = 2
70 } else { 70 } else {
71 safe_browsing_mode = 1 71 safe_browsing_mode = 1
72 } 72 }
73 73
74 # Set to true make a build that disables activation of field trial tests 74 # Set to true make a build that disables activation of field trial tests
75 # specified in testing/variations/fieldtrial_testing_config_*.json. 75 # specified in testing/variations/fieldtrial_testing_config_*.json.
76 # Note: this setting is ignored if is_chrome_branded. 76 # Note: this setting is ignored if is_chrome_branded.
77 fieldtrial_testing_like_official_build = is_chrome_branded 77 fieldtrial_testing_like_official_build = is_chrome_branded
78 78
79 use_cups = (is_desktop_linux || is_mac) && !is_chromecast
80
81 # Enables Wi-Fi Display functionality 79 # Enables Wi-Fi Display functionality
82 # WARNING: This enables MPEG Transport Stream (MPEG-TS) encoding! 80 # WARNING: This enables MPEG Transport Stream (MPEG-TS) encoding!
83 enable_wifi_display = false 81 enable_wifi_display = false
84 82
85 # libudev usage. This currently only affects the content layer. 83 # libudev usage. This currently only affects the content layer.
86 use_udev = is_linux && !is_chromecast 84 use_udev = is_linux && !is_chromecast
87 85
88 use_dbus = is_linux && !is_chromecast 86 use_dbus = is_linux && !is_chromecast
89 87
90 # Option controlling the use of GConf (the classic GNOME configuration 88 # Option controlling the use of GConf (the classic GNOME configuration
91 # system). 89 # system).
92 use_gconf = is_linux && !is_chromeos && !is_chromecast 90 use_gconf = is_linux && !is_chromeos && !is_chromecast
93 91
94 use_gio = is_linux && !is_chromeos && !is_chromecast 92 use_gio = is_linux && !is_chromeos && !is_chromecast
95 93
96 # Enable basic printing support and UI.
97 enable_basic_printing = !is_chromecast && !is_ios
98
99 # Enable printing with print preview. It does not imply
100 # enable_basic_printing. It's possible to build Chrome with preview only.
101 enable_print_preview = !is_android && !is_chromecast && !is_ios
102
103 # Whether or not to use external popup menu. 94 # Whether or not to use external popup menu.
104 use_external_popup_menu = is_android || is_mac 95 use_external_popup_menu = is_android || is_mac
105 96
106 # Enable WebVR support by default on Android 97 # Enable WebVR support by default on Android
107 # Still requires command line flag to access API 98 # Still requires command line flag to access API
108 enable_webvr = is_android && is_component_build && is_debug && 99 enable_webvr = is_android && is_component_build && is_debug &&
109 (current_cpu == "x86" || current_cpu == "x64" || 100 (current_cpu == "x86" || current_cpu == "x64" ||
110 current_cpu == "arm" || current_cpu == "arm64") 101 current_cpu == "arm" || current_cpu == "arm64")
111 } 102 }
112 103
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 147
157 enable_configuration_policy = !is_ios 148 enable_configuration_policy = !is_ios
158 149
159 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build 150 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build
160 # 151 #
161 # ============================================= 152 # =============================================
162 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 153 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
163 # ============================================= 154 # =============================================
164 # 155 #
165 # See comment at the top. 156 # See comment at the top.
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | chrome/common/features.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698