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

Unified Diff: build/common.gypi

Issue 203073007: Add a switch to control which CLD2 tables are used at build time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/cld_2/cld_2.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 1dc3dcd6d8bc7594c0e782b0dea0abc119a894d5..2a102bbfd302e99af88af9582ed28c4ac767488a 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -421,6 +421,14 @@
# 2: Use only CLD2.
'cld_version%': 2,
+ # For CLD2, the size of the tables that should be included in the build
+ # Only evaluated if cld_version == 2.
+ # See third_party/cld_2/cld_2.gyp for more information.
+ # 0: Small tables, lower accuracy
+ # 1: Medium tables, medium accuracy
+ # 2: Large tables, high accuracy
+ 'cld2_table_size%': 2,
+
# Enable spell checker.
'enable_spellcheck%': 1,
@@ -974,6 +982,7 @@
'enable_spellcheck%': '<(enable_spellcheck)',
'enable_google_now%': '<(enable_google_now)',
'cld_version%': '<(cld_version)',
+ 'cld2_table_size%': '<(cld2_table_size)',
'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
'disable_ftp_support%': '<(disable_ftp_support)',
'enable_task_manager%': '<(enable_task_manager)',
« no previous file with comments | « no previous file | third_party/cld_2/cld_2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698