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