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

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

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: All remaining comments addressed Created 6 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 | Annotate | Revision Log
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 # This file contains UI-related build flags. It should theoretically be in the 5 # This file contains UI-related build flags. It should theoretically be in the
6 # src/ui directory and only things that depend on the ui module should get the 6 # src/ui directory and only things that depend on the ui module should get the
7 # definitions. 7 # definitions.
8 # 8 #
9 # However, today we have many "bad" dependencies on some of these flags from, 9 # However, today we have many "bad" dependencies on some of these flags from,
10 # e.g. base, so they need to be global. 10 # e.g. base, so they need to be global.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 if (is_android) { 101 if (is_android) {
102 safe_browsing_mode = 2 102 safe_browsing_mode = 2
103 } else if (is_ios) { 103 } else if (is_ios) {
104 safe_browsing_mode = 0 104 safe_browsing_mode = 0
105 } else { 105 } else {
106 safe_browsing_mode = 1 106 safe_browsing_mode = 1
107 } 107 }
108 108
109 enable_configuration_policy = true 109 enable_configuration_policy = true
110 110
111 # The data acquisition mode for CLD2. Possible values are:
112 # static: CLD2 data is statically linked to the executable.
113 # standalone: CLD2 data is provided in a standalone file that is
114 # bundled with the executable.
115 # component: CLD2 data is provided as a Chrome "component" and is
116 # downloaded via the component updater.
117 #
118 # For more information on switching the CLD2 data source, see:
119 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact-langu age-detector-cld-data-source-configuration
120 cld2_data_source = "static"
121
122 # Enables support for background apps. 111 # Enables support for background apps.
123 enable_background = !is_ios && !is_android 112 enable_background = !is_ios && !is_android
124 113
125 enable_task_manager = !is_ios && !is_android 114 enable_task_manager = !is_ios && !is_android
126 115
127 use_cups = is_desktop_linux || is_mac 116 use_cups = is_desktop_linux || is_mac
128 117
129 enable_themes = !is_android && !is_ios 118 enable_themes = !is_android && !is_ios
130 119
131 # TODO(scottmg) remove this when we've fixed printing. 120 # TODO(scottmg) remove this when we've fixed printing.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 # ChromeVox, which can then be enabled via a command-line switch. 156 # ChromeVox, which can then be enabled via a command-line switch.
168 enable_chromevox_next = false 157 enable_chromevox_next = false
169 158
170 # Use brlapi from brltty for braille display support. 159 # Use brlapi from brltty for braille display support.
171 use_brlapi = is_chromeos 160 use_brlapi = is_chromeos
172 161
173 # Option controlling the use of GConf (the classic GNOME configuration 162 # Option controlling the use of GConf (the classic GNOME configuration
174 # system). 163 # system).
175 # TODO(GYP) also require !embedded to enable. 164 # TODO(GYP) also require !embedded to enable.
176 use_gconf = is_linux && !is_chromeos 165 use_gconf = is_linux && !is_chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698