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

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

Issue 523108: Port back CLD to Linux and Mac and fix Trad Chinese detection (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « third_party/cld/base/string_util.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 (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'conditions': [ 6 'targets': [
7 ['OS=="win"', { 7 {
8 'targets': [ 8 'target_name': 'cld',
9 { 9 'type': '<(library)',
10 'target_name': 'cld', 10 'dependencies': [
11 'type': '<(library)', 11 '../icu/icu.gyp:icuuc',
12 'include_dirs': [ 12 ],
13 '.', 13 'include_dirs': [
14 ], 14 '.',
15 'msvs_disabled_warnings': [4005, 4006, 4018, 4244, 4309, 4800], 15 ],
16 'defines': [ 16 'defines': [
17 'CLD_WINDOWS', 17 'CLD_WINDOWS',
18 ], 18 ],
19 'sources': [ 19 'sources': [
20 'bar/common/scopedlibrary.h', 20 'bar/common/scopedptr.h',
21 'bar/common/scopedptr.h', 21 'bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil.cc',
22 'bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil.cc', 22 'bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil.h',
23 'bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil.h', 23 'bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil_dbg.h',
24 'bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil_dbg.h', 24 'bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil_dbg_empty.cc',
25 'bar/toolbar/cld/i18n/encodings/compact_lang_det/cldutil_dbg_empty.c c', 25 'bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det.cc',
26 'bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det.cc ', 26 'bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det.h',
27 'bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det.h' , 27 'bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_impl.c c',
28 'bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_im pl.cc', 28 'bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_impl.h ',
29 'bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_im pl.h', 29 'bar/toolbar/cld/i18n/encodings/compact_lang_det/ext_lang_enc.cc',
30 'bar/toolbar/cld/i18n/encodings/compact_lang_det/ext_lang_enc.cc', 30 'bar/toolbar/cld/i18n/encodings/compact_lang_det/ext_lang_enc.h',
31 'bar/toolbar/cld/i18n/encodings/compact_lang_det/ext_lang_enc.h', 31 'bar/toolbar/cld/i18n/encodings/compact_lang_det/getonescriptspan.cc',
32 'bar/toolbar/cld/i18n/encodings/compact_lang_det/getonescriptspan.cc ', 32 'bar/toolbar/cld/i18n/encodings/compact_lang_det/getonescriptspan.h',
33 'bar/toolbar/cld/i18n/encodings/compact_lang_det/getonescriptspan.h' , 33 'bar/toolbar/cld/i18n/encodings/compact_lang_det/letterscript_enum.cc',
34 'bar/toolbar/cld/i18n/encodings/compact_lang_det/letterscript_enum.c c', 34 'bar/toolbar/cld/i18n/encodings/compact_lang_det/letterscript_enum.h',
35 'bar/toolbar/cld/i18n/encodings/compact_lang_det/letterscript_enum.h ', 35 'bar/toolbar/cld/i18n/encodings/compact_lang_det/subsetsequence.cc',
36 'bar/toolbar/cld/i18n/encodings/compact_lang_det/subsetsequence.cc', 36 'bar/toolbar/cld/i18n/encodings/compact_lang_det/subsetsequence.h',
37 'bar/toolbar/cld/i18n/encodings/compact_lang_det/subsetsequence.h', 37 'bar/toolbar/cld/i18n/encodings/compact_lang_det/tote.cc',
38 'bar/toolbar/cld/i18n/encodings/compact_lang_det/tote.cc', 38 'bar/toolbar/cld/i18n/encodings/compact_lang_det/tote.h',
39 'bar/toolbar/cld/i18n/encodings/compact_lang_det/tote.h', 39 'bar/toolbar/cld/i18n/encodings/compact_lang_det/utf8propjustletter.h',
40 'bar/toolbar/cld/i18n/encodings/compact_lang_det/utf8propjustletter. h', 40 'bar/toolbar/cld/i18n/encodings/compact_lang_det/utf8propletterscriptnum .h',
41 'bar/toolbar/cld/i18n/encodings/compact_lang_det/utf8propletterscrip tnum.h', 41 'bar/toolbar/cld/i18n/encodings/compact_lang_det/utf8scannotjustlettersp ecial.h',
42 'bar/toolbar/cld/i18n/encodings/compact_lang_det/utf8scannotjustlett erspecial.h', 42 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_lang_ det_generated_cjkbis_0.cc',
43 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_l ang_det_generated_cjkbis_0.cc', 43 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_lang_ det_generated_ctjkvz.cc',
44 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_l ang_det_generated_ctjkvz.cc', 44 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_lang_ det_generated_longwords8_0.cc',
45 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_l ang_det_generated_longwords8_0.cc', 45 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_lang_ det_generated_meanscore.h',
46 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_l ang_det_generated_meanscore.h', 46 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_lang_ det_generated_quads_128.cc',
47 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_l ang_det_generated_quads_128.cc', 47 # For now using the 128 bytes detection in order to save hundreds of KBs on the final package.
48 # For now using the 128 bytes detection in order to save hundreds of KBs on the final package. 48 # 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact_lan g_det_generated_quads_256.cc',
49 # 'bar/toolbar/cld/i18n/encodings/compact_lang_det/generated/compact _lang_det_generated_quads_256.cc', 49 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_basictypes.h',
50 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_basictypes. h', 50 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_commandlineflag s.h',
51 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_commandline flags.h', 51 # We use the static table at this point, so we don't need to compile the following files:
52 # We use the static table at this point, so we don't need to compile the following files: 52 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_dynamicstate.h ',
53 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_dynamicsta te.h', 53 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_dynamicstate.c c',
54 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_dynamicsta te.cc', 54 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_loadpolicy.cc' ,
55 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_loadpolicy .cc', 55 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_loadpolicy.h',
56 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_loadpolicy .h', 56 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_loadpolicyinte rface.h',
57 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_loadpolicy interface.h', 57 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_resourceids.h' ,
58 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_resourceid s.h', 58 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_service.h',
59 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_service.h' , 59 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_service.cc',
60 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_service.cc ', 60 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_serviceinterfa ce.h',
61 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_serviceint erface.h', 61 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_tables.cc',
62 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_tables.cc' , 62 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_tables.h',
63 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_tables.h', 63 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/resourceinmemory.c c',
64 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/resourceinmemo ry.cc', 64 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/resourceinmemory.h ',
65 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/resourceinmemo ry.h', 65 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_google.h',
66 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_google.h', 66 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_htmlutils.h',
67 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_htmlutils.h ', 67 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_htmlutils_windo ws.cc',
68 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_htmlutils_w indows.cc', 68 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_logging.h',
69 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_logging.h', 69 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_macros.h',
70 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_macros.h', 70 # None of files we build require these two headers.
71 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_scoped_ptr. h', 71 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_scoped_ptr.h',
72 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_scopedptr.h ', 72 #'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_scopedptr.h',
73 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_strtoint.h' , 73 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_strtoint.h',
74 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unicodetext .cc', 74 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unicodetext.cc' ,
75 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unicodetext .h', 75 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unicodetext.h',
76 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unilib.h', 76 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unilib.h',
77 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unilib_wind ows.cc', 77 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_unilib_windows. cc',
78 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf.h', 78 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf.h',
79 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf8stateta ble.cc', 79 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf8statetable. cc',
80 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf8stateta ble.h', 80 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf8statetable. h',
81 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf8utils.h ', 81 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf8utils.h',
82 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf8utils_w indows.cc', 82 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/cld_utf8utils_windo ws.cc',
83 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/normalizedunico detext.cc', 83 'bar/toolbar/cld/i18n/encodings/internal/encodings.cc',
84 'bar/toolbar/cld/i18n/encodings/compact_lang_det/win/normalizedunico detext.h', 84 'bar/toolbar/cld/i18n/encodings/proto/encodings.pb.h',
85 'bar/toolbar/cld/i18n/encodings/internal/encodings.cc', 85 'bar/toolbar/cld/i18n/encodings/public/encodings.h',
86 'bar/toolbar/cld/i18n/encodings/proto/encodings.pb.h', 86 'bar/toolbar/cld/i18n/languages/internal/languages.cc',
87 'bar/toolbar/cld/i18n/encodings/public/encodings.h', 87 'bar/toolbar/cld/i18n/languages/proto/languages.pb.h',
88 'bar/toolbar/cld/i18n/languages/internal/languages.cc', 88 'bar/toolbar/cld/i18n/languages/public/languages.h',
89 'bar/toolbar/cld/i18n/languages/proto/languages.pb.h', 89 'base/basictypes.h',
90 'bar/toolbar/cld/i18n/languages/public/languages.h', 90 'base/build_config.h',
91 'base/basictypes.h', 91 'base/casts.h',
92 'base/build_config.h', 92 'base/commandlineflags.h',
93 'base/casts.h', 93 'base/global_strip_options.h',
94 'base/commandlineflags.h', 94 'base/logging.h',
95 'base/global_strip_options.h', 95 'base/macros.h',
96 'base/logging.h', 96 'base/port.h',
97 'base/macros.h', 97 'base/crash.h',
98 'base/port.h', 98 'base/dynamic_annotations.h',
99 'base/crash.h', 99 'base/scoped_ptr.h',
100 'base/dynamic_annotations.h', 100 'base/stl_decl_msvc.h',
101 'base/scoped_ptr.h', 101 'base/log_severity.h',
102 'base/stl_decl_msvc.h', 102 'base/strtoint.h',
103 'base/log_severity.h', 103 'base/vlog_is_on.h',
104 'base/strtoint.h', 104 'base/string_util.h',
105 'base/vlog_is_on.h', 105 'base/type_traits.h',
106 'base/string_util.h', 106 'base/template_util.h',
107 'base/type_traits.h', 107 ],
108 'base/template_util.h', 108 'direct_dependent_settings': {
109 ], 109 'defines': [
110 'direct_dependent_settings': { 110 'CLD_WINDOWS',
111 'defines': [ 111 ],
112 'CLD_WINDOWS',
113 'COMPILER_MSVC',
114 ],
115 },
116 },],
117 }, 112 },
118 ], 113 'conditions': [
114 ['OS=="win"', {
115 'direct_dependent_settings': {
116 'defines': [
117 'COMPILER_MSVC',
118 ],
119 },
120 'msvs_disabled_warnings': [4005, 4006, 4018, 4244, 4309, 4800],
121 },
122 ],
123 ['OS!="win"', {
124 'direct_dependent_settings': {
125 'defines': [
126 'COMPILER_GCC',
127 ],
128 },
129 },
130 ],
131 ],
132 },
119 ], 133 ],
120 } 134 }
121 135
122 # Local Variables: 136 # Local Variables:
123 # tab-width:2 137 # tab-width:2
124 # indent-tabs-mode:nil 138 # indent-tabs-mode:nil
125 # End: 139 # End:
126 # vim: set expandtab tabstop=2 shiftwidth=2: 140 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/cld/base/string_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698