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

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

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge 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
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 safe_browsing_mode = 2 54 safe_browsing_mode = 2
55 } else { 55 } else {
56 safe_browsing_mode = 1 56 safe_browsing_mode = 1
57 } 57 }
58 58
59 # Set to true make a build that disables activation of field trial tests 59 # Set to true make a build that disables activation of field trial tests
60 # specified in testing/variations/fieldtrial_testing_config_*.json. 60 # specified in testing/variations/fieldtrial_testing_config_*.json.
61 # Note: this setting is ignored if is_chrome_branded. 61 # Note: this setting is ignored if is_chrome_branded.
62 fieldtrial_testing_like_official_build = is_chrome_branded 62 fieldtrial_testing_like_official_build = is_chrome_branded
63 63
64 use_cups = (is_desktop_linux || is_mac) && !is_chromecast
65
66 # Enables Wi-Fi Display functionality 64 # Enables Wi-Fi Display functionality
67 # WARNING: This enables MPEG Transport Stream (MPEG-TS) encoding! 65 # WARNING: This enables MPEG Transport Stream (MPEG-TS) encoding!
68 enable_wifi_display = false 66 enable_wifi_display = false
69 67
70 # libudev usage. This currently only affects the content layer. 68 # libudev usage. This currently only affects the content layer.
71 use_udev = is_linux && !is_chromecast 69 use_udev = is_linux && !is_chromecast
72 70
73 use_dbus = is_linux && !is_chromecast 71 use_dbus = is_linux && !is_chromecast
74 72
75 # Option controlling the use of GConf (the classic GNOME configuration 73 # Option controlling the use of GConf (the classic GNOME configuration
76 # system). 74 # system).
77 use_gconf = is_linux && !is_chromeos && !is_chromecast 75 use_gconf = is_linux && !is_chromeos && !is_chromecast
78 76
79 use_gio = is_linux && !is_chromeos && !is_chromecast 77 use_gio = is_linux && !is_chromeos && !is_chromecast
80 78
81 # Enable basic printing support and UI.
82 enable_basic_printing = !is_chromecast && !is_ios
83
84 # Enable printing with print preview. It does not imply
85 # enable_basic_printing. It's possible to build Chrome with preview only.
86 enable_print_preview = !is_android && !is_chromecast && !is_ios
87
88 # Whether or not to use external popup menu. 79 # Whether or not to use external popup menu.
89 use_external_popup_menu = is_android || is_mac 80 use_external_popup_menu = is_android || is_mac
90 81
91 # Enable WebVR support by default on Android 82 # Enable WebVR support by default on Android
92 # Still requires command line flag to access API 83 # Still requires command line flag to access API
93 enable_webvr = is_android && is_component_build && is_debug && 84 enable_webvr = is_android && is_component_build && is_debug &&
94 (current_cpu == "x86" || current_cpu == "x64" || 85 (current_cpu == "x86" || current_cpu == "x64" ||
95 current_cpu == "arm" || current_cpu == "arm64") 86 current_cpu == "arm" || current_cpu == "arm64")
96 } 87 }
97 88
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 132
142 enable_configuration_policy = !is_ios 133 enable_configuration_policy = !is_ios
143 134
144 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build 135 enable_mac_keystone = is_mac && is_chrome_branded && is_official_build
145 # 136 #
146 # ============================================= 137 # =============================================
147 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE 138 # PLEASE DO NOT ADD MORE FLAGS TO THIS FILE
148 # ============================================= 139 # =============================================
149 # 140 #
150 # See comment at the top. 141 # See comment at the top.
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698