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

Side by Side Diff: third_party/cld_2/cld_2.gyp

Issue 333603002: Modularize Compact Language Detector 2 (CLD2) data sources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge https://codereview.chromium.org/326383005 Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « ipc/ipc_message_start.h ('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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 # Note to maintainers: In the January 2014 release (*_0122*), there are some 5 # Note to maintainers: In the January 2014 release (*_0122*), there are some
6 # options for building: 6 # options for building:
7 # Pick one quadgram file (cld2_generated_quadchrome*.cc): 7 # Pick one quadgram file (cld2_generated_quadchrome*.cc):
8 # 0122_16 = 160K entries, smallest size, lowest accuracy (set cld2_table_size= 0) 8 # 0122_16 = 160K entries, smallest size, lowest accuracy (set cld2_table_size= 0)
9 # 0122_19 = 192K entries, medium size, medium accuracy (set cld2_table_size=1) 9 # 0122_19 = 192K entries, medium size, medium accuracy (set cld2_table_size=1)
10 # 0122_2 = 256K entries, largest size, highest accuracy (set cld2_table_size= 2) 10 # 0122_2 = 256K entries, largest size, highest accuracy (set cld2_table_size= 2)
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 'src/internal/utf8statetable.cc', 151 'src/internal/utf8statetable.cc',
152 'src/internal/utf8statetable.h', 152 'src/internal/utf8statetable.h',
153 'src/public/compact_lang_det.h', 153 'src/public/compact_lang_det.h',
154 'src/public/encodings.h', 154 'src/public/encodings.h',
155 ], 155 ],
156 'conditions': [ 156 'conditions': [
157 ['OS=="win"', { 157 ['OS=="win"', {
158 'msvs_disabled_warnings': [4267], 158 'msvs_disabled_warnings': [4267],
159 }], 159 }],
160 # Dynamic or vanilla mode 160 # Dynamic or vanilla mode
161 ['cld2_dynamic==1', 161 ['cld2_data_source!="static"',
162 { 162 {
163 # Enable dynamic mode, which allows CLD to read its data from a file 163 # Enable dynamic mode, which allows CLD to read its data from a file
164 # instead of requiring the data to be linked into the library. 164 # instead of requiring the data to be linked into the library.
165 # You must generate the data file and check it in using the 165 # You must generate the data file and check it in using the
166 # cld2_dynamic_data_tool. 166 # cld2_dynamic_data_tool.
167 # build/common.gypi takes care of setting -D CLD2_MODE_DYNAMIC 167 # build/common.gypi takes care of setting -D CLD2_MODE_DYNAMIC
168 'sources+': [ 168 'sources+': [
169 'src/internal/cld2_dynamic_data.h', 169 'src/internal/cld2_dynamic_data.h',
170 'src/internal/cld2_dynamic_data.cc', 170 'src/internal/cld2_dynamic_data.cc',
171 'src/internal/cld2_dynamic_data_loader.h', 171 'src/internal/cld2_dynamic_data_loader.h',
(...skipping 30 matching lines...) Expand all
202 'src/internal/cld2_generated_quadchrome0122_2.cc', 202 'src/internal/cld2_generated_quadchrome0122_2.cc',
203 ], 203 ],
204 }], 204 }],
205 ], 205 ],
206 }, 206 },
207 ], 207 ],
208 ], 208 ],
209 }, 209 },
210 ], 210 ],
211 } 211 }
OLDNEW
« no previous file with comments | « ipc/ipc_message_start.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698