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

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: Make some of the harness factory methods private 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
« no previous file with comments | « build/common.gypi ('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 # 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 if (is_android) { 97 if (is_android) {
98 safe_browsing_mode = 2 98 safe_browsing_mode = 2
99 } else if (is_ios) { 99 } else if (is_ios) {
100 safe_browsing_mode = 0 100 safe_browsing_mode = 0
101 } else { 101 } else {
102 safe_browsing_mode = 1 102 safe_browsing_mode = 1
103 } 103 }
104 104
105 enable_configuration_policy = true 105 enable_configuration_policy = true
106 106
107 # The data acquisition mode for CLD2. Possible values are:
108 # static: CLD2 data is statically linked to the executable.
109 # standalone: CLD2 data is provided in a standalone file that is
110 # bundled with the executable.
111 # component: CLD2 data is provided as a Chrome "component" and is
112 # downloaded via the component updater.
113 #
114 # For more information on switching the CLD2 data source, see:
115 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact-langu age-detector-cld-data-source-configuration
116 cld2_data_source = "static"
117
118 # Enables support for background apps. 107 # Enables support for background apps.
119 enable_background = !is_ios && !is_android 108 enable_background = !is_ios && !is_android
120 109
121 enable_task_manager = !is_ios && !is_android 110 enable_task_manager = !is_ios && !is_android
122 111
123 use_cups = is_desktop_linux || is_mac 112 use_cups = is_desktop_linux || is_mac
124 113
125 enable_themes = !is_android && !is_ios 114 enable_themes = !is_android && !is_ios
126 115
127 # TODO(scottmg) remove this when we've fixed printing. 116 # TODO(scottmg) remove this when we've fixed printing.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 # ChromeVox, which can then be enabled via a command-line switch. 152 # ChromeVox, which can then be enabled via a command-line switch.
164 enable_chromevox_next = false 153 enable_chromevox_next = false
165 154
166 # Use brlapi from brltty for braille display support. 155 # Use brlapi from brltty for braille display support.
167 use_brlapi = is_chromeos 156 use_brlapi = is_chromeos
168 157
169 # Option controlling the use of GConf (the classic GNOME configuration 158 # Option controlling the use of GConf (the classic GNOME configuration
170 # system). 159 # system).
171 # TODO(GYP) also require !embedded to enable. 160 # TODO(GYP) also require !embedded to enable.
172 use_gconf = is_linux && !is_chromeos 161 use_gconf = is_linux && !is_chromeos
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698