OLD | NEW |
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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'system_icu', | 8 'target_name': 'system_icu', |
9 'type': 'none', | 9 'type': 'none', |
| 10 'toolsets': ['host', 'target'], |
10 'direct_dependent_settings': { | 11 'direct_dependent_settings': { |
11 'defines': [ | 12 'defines': [ |
12 'U_USING_ICU_NAMESPACE=0', | 13 'U_USING_ICU_NAMESPACE=0', |
13 ], | 14 ], |
14 }, | 15 }, |
15 'link_settings': { | 16 'link_settings': { |
16 'ldflags': [ | 17 'ldflags': [ |
17 '<!@(icu-config --ldflags)', | 18 '<!@(icu-config --ldflags)', |
18 ], | 19 ], |
19 'libraries': [ | 20 'libraries': [ |
20 '<!@(icu-config --ldflags-libsonly)', | 21 '<!@(icu-config --ldflags-libsonly)', |
21 ], | 22 ], |
22 }, | 23 }, |
23 }, | 24 }, |
24 { | 25 { |
25 'target_name': 'icudata', | 26 'target_name': 'icudata', |
26 'type': 'none', | 27 'type': 'none', |
27 'dependencies': ['system_icu'], | 28 'dependencies': ['system_icu'], |
28 'export_dependent_settings': ['system_icu'], | 29 'export_dependent_settings': ['system_icu'], |
29 }, | 30 }, |
30 { | 31 { |
31 'target_name': 'icui18n', | 32 'target_name': 'icui18n', |
32 'type': 'none', | 33 'type': 'none', |
| 34 'toolsets': ['host', 'target'], |
33 'dependencies': ['system_icu'], | 35 'dependencies': ['system_icu'], |
34 'export_dependent_settings': ['system_icu'], | 36 'export_dependent_settings': ['system_icu'], |
35 'variables': { | 37 'variables': { |
36 'headers_root_path': 'source/i18n', | 38 'headers_root_path': 'source/i18n', |
37 'header_filenames': [ | 39 'header_filenames': [ |
38 # This list can easily be updated using the command below: | 40 # This list can easily be updated using the command below: |
39 # find third_party/icu/source/i18n/unicode -iname '*.h' \ | 41 # find third_party/icu/source/i18n/unicode -iname '*.h' \ |
40 # -printf "'%p',\n" | \ | 42 # -printf "'%p',\n" | \ |
41 # sed -e 's|third_party/icu/source/i18n/||' | sort -u | 43 # sed -e 's|third_party/icu/source/i18n/||' | sort -u |
42 'unicode/basictz.h', | 44 'unicode/basictz.h', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 'unicode/vtzone.h', | 111 'unicode/vtzone.h', |
110 ], | 112 ], |
111 }, | 113 }, |
112 'includes': [ | 114 'includes': [ |
113 '../../build/shim_headers.gypi', | 115 '../../build/shim_headers.gypi', |
114 ], | 116 ], |
115 }, | 117 }, |
116 { | 118 { |
117 'target_name': 'icuuc', | 119 'target_name': 'icuuc', |
118 'type': 'none', | 120 'type': 'none', |
| 121 'toolsets': ['host', 'target'], |
119 'dependencies': ['system_icu'], | 122 'dependencies': ['system_icu'], |
120 'export_dependent_settings': ['system_icu'], | 123 'export_dependent_settings': ['system_icu'], |
121 'variables': { | 124 'variables': { |
122 'headers_root_path': 'source/common', | 125 'headers_root_path': 'source/common', |
123 'header_filenames': [ | 126 'header_filenames': [ |
124 # This list can easily be updated using the command below: | 127 # This list can easily be updated using the command below: |
125 # find third_party/icu/source/common/unicode -iname '*.h' \ | 128 # find third_party/icu/source/common/unicode -iname '*.h' \ |
126 # -printf "'%p',\n" | \ | 129 # -printf "'%p',\n" | \ |
127 # sed -e 's|third_party/icu/source/common/||' | sort -u | 130 # sed -e 's|third_party/icu/source/common/||' | sort -u |
128 'unicode/brkiter.h', | 131 'unicode/brkiter.h', |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 'unicode/uvernum.h', | 215 'unicode/uvernum.h', |
213 'unicode/uversion.h', | 216 'unicode/uversion.h', |
214 ], | 217 ], |
215 }, | 218 }, |
216 'includes': [ | 219 'includes': [ |
217 '../../build/shim_headers.gypi', | 220 '../../build/shim_headers.gypi', |
218 ], | 221 ], |
219 }, | 222 }, |
220 ], | 223 ], |
221 } | 224 } |
OLD | NEW |