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

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

Issue 1306053014: Add cld2_table_size variable to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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/common.gypi ('k') | no next file » | 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 Chrome-feature-related build flags (see ui.gni for 5 # This file contains Chrome-feature-related build flags (see ui.gni for
6 # UI-related ones). These should theoretically be moved to the build files of 6 # UI-related ones). These should theoretically be moved to the build files of
7 # the features themselves. 7 # the features themselves.
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 to match the GYP configuration. Also, 10 # e.g. base, so they need to be global to match the GYP configuration. Also,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 fieldtrial_testing_like_official_build = is_chrome_branded 122 fieldtrial_testing_like_official_build = is_chrome_branded
123 } 123 }
124 124
125 # Additional dependent variables ----------------------------------------------- 125 # Additional dependent variables -----------------------------------------------
126 126
127 # Set the version of CLD. 127 # Set the version of CLD.
128 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1. 128 # 1: (DEPRECATED! See http://crbug.com/528305 for info) Use only CLD1.
129 # 2: Use only CLD2. 129 # 2: Use only CLD2.
130 cld_version = 2 130 cld_version = 2
131 131
132 if (is_android || is_ios) {
133 cld2_table_size = 0 # Small, accurate tables
134 } else {
135 cld2_table_size = 2 # Larger, more accurate tables
136 }
137
132 # libudev usage. This currently only affects the content layer. 138 # libudev usage. This currently only affects the content layer.
133 use_udev = is_linux 139 use_udev = is_linux
134 140
135 # Enable the spell checker. 141 # Enable the spell checker.
136 enable_spellcheck = !is_ios 142 enable_spellcheck = !is_ios
137 143
138 # Use the operating system's spellchecker rather than hunspell. 144 # Use the operating system's spellchecker rather than hunspell.
139 use_browser_spellchecker = is_android || is_mac 145 use_browser_spellchecker = is_android || is_mac
140 146
141 # Enable basic printing support and UI. 147 # Enable basic printing support and UI.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 # system). 205 # system).
200 # TODO(GYP) also require !embedded to enable. 206 # TODO(GYP) also require !embedded to enable.
201 use_gconf = is_linux && !is_chromeos 207 use_gconf = is_linux && !is_chromeos
202 208
203 # Whether to back up data before sync. 209 # Whether to back up data before sync.
204 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 210 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
205 211
206 # Enable WebVR support by default on Android 212 # Enable WebVR support by default on Android
207 # Still requires command line flag to access API 213 # Still requires command line flag to access API
208 enable_webvr = is_android 214 enable_webvr = is_android
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698