1b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org# Copyright (c) 2012 The Chromium Authors. All rights reserved.
2b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org# Use of this source code is governed by a BSD-style license that can be
3b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org# found in the LICENSE file.
4b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org
5b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org{
6b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  'includes': [
7b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'icu.gypi',
8b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  ],
9b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  'variables': {
10b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'use_system_icu%': 0,
11b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'icu_use_data_file_flag%': 0,
12b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'want_separate_host_toolset%': 1,
13b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  },
14b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  'target_defaults': {
15b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'direct_dependent_settings': {
16b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'defines': [
17b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        # Tell ICU to not insert |using namespace icu;| into its headers,
18b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        # so that chrome's source explicitly has to use |icu::|.
19b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        'U_USING_ICU_NAMESPACE=0',
2051fac8a82606491eec234802f0e9b151206dc4c9jshin@chromium.org        # We don't use ICU plugins and dyload is only necessary for them.
2151fac8a82606491eec234802f0e9b151206dc4c9jshin@chromium.org        # NaCl-related builds also fail looking for dlfcn.h when it's enabled.
2251fac8a82606491eec234802f0e9b151206dc4c9jshin@chromium.org        'U_ENABLE_DYLOAD=0',
23b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      ],
24b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    },
25b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'defines': [
26b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'U_USING_ICU_NAMESPACE=0',
27b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'HAVE_DLOPEN=0',
28b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    ],
29b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'conditions': [
30b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      ['component=="static_library"', {
31b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        'defines': [
32b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'U_STATIC_IMPLEMENTATION',
33b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        ],
34b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      }],
35b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
36b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org         or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
37b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        (target_arch=="arm" or target_arch=="ia32" or \
38b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org         target_arch=="mipsel")', {
39b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        'target_conditions': [
40b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ['_toolset=="host"', {
41b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'cflags': [ '-m32' ],
42b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'ldflags': [ '-m32' ],
43b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'asflags': [ '-32' ],
44b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'xcode_settings': {
45b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'ARCHS': [ 'i386' ],
46b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            },
47b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          }],
48b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        ],
49b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      }],
5087a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org      ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
5187a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org         or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
5287a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org        (target_arch=="arm64" or target_arch=="x64" or \
5387a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org         target_arch=="mipsel64")', {
5487a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org        'target_conditions': [
5587a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org          ['_toolset=="host"', {
5687a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org            'cflags': [ '-m64' ],
5787a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org            'ldflags': [ '-m64' ],
5887a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org            'asflags': [ '-64' ],
5987a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org            'xcode_settings': {
6087a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org              'ARCHS': [ 'x86_64' ],
6187a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org            },
6287a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org          }],
6387a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org        ],
6487a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org      }],
65b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    ],
66b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'include_dirs': [
67b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'source/common',
68b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'source/i18n',
69b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    ],
70b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    'msvs_disabled_warnings': [4005, 4068, 4355, 4996, 4267],
71b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  },
72b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  'conditions': [
73b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    ['use_system_icu==0 or want_separate_host_toolset==1', {
74b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'targets': [
75b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        {
76dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          'target_name': 'copy_icudtl_dat',
77dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          'type': 'none',
78dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          # icudtl.dat is the same for both host/target, so this only supports a
79dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          # single toolset. If a target requires that the .dat file be copied
80dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          # to the output directory, it should explicitly depend on this target
81dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          # with the host toolset (like copy_icudtl_dat#host).
82dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          'toolsets': [ 'host' ],
83dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          'copies': [{
84dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org            'destination': '<(PRODUCT_DIR)',
85dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org            'conditions': [
86dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org              ['OS == "android"', {
87dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                'files': [
88dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                  'android/icudtl.dat',
89dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                ],
90dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org              } , { # else: OS != android
91dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                'files': [
92dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                  'source/data/in/icudtl.dat',
93dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                ],
94dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org              }],
95dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org            ],
96dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org          }],
97dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org        },
98dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org        {
99b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'target_name': 'icudata',
100b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'type': 'static_library',
101b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'defines': [
102b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'U_HIDE_DATA_SYMBOL',
103b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
104b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'sources': [
105b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org             # These are hand-generated, but will do for now.  The linux
1064e4932615b7e125ce9e7a5a3972bc3237cb8e1b0jshin@chromium.org             # version is an identical copy of the (mac) icudtl_dat.S file,
107b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org             # modulo removal of the .private_extern and .const directives and
108b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org             # with no leading underscore on the icudt52_dat symbol.
1094e4932615b7e125ce9e7a5a3972bc3237cb8e1b0jshin@chromium.org             'android/icudtl_dat.S',
1104e4932615b7e125ce9e7a5a3972bc3237cb8e1b0jshin@chromium.org             'linux/icudtl_dat.S',
1114e4932615b7e125ce9e7a5a3972bc3237cb8e1b0jshin@chromium.org             'mac/icudtl_dat.S',
112b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
113b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'conditions': [
114b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==1 and want_separate_host_toolset==1', {
115b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['host'],
116b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
117b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==0 and want_separate_host_toolset==1', {
118b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['host', 'target'],
119b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
120b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==0 and want_separate_host_toolset==0', {
121b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['target'],
122b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
123b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'OS == "win" and icu_use_data_file_flag==0', {
124b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'type': 'none',
125b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'copies': [
126b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                {
127b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  'destination': '<(PRODUCT_DIR)',
128b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  'files': [
129b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                    'windows/icudt.dll',
130b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  ],
131b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                },
132b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              ],
133b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
134b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'icu_use_data_file_flag==1', {
135b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # Remove any assembly data file.
1364e4932615b7e125ce9e7a5a3972bc3237cb8e1b0jshin@chromium.org              'sources/': [['exclude', 'icudtl_dat']],
137b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # Compile in the stub data symbol.
138b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'sources': ['source/stubdata/stubdata.c'],
13987a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org
140b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # Make sure any binary depending on this gets the data file.
141b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'conditions': [
142b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ['OS != "ios"', {
143dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                  'dependencies': [
144dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                    'copy_icudtl_dat#host',
145dab7f1fb6915615728a9ac1107c4c30f0c8487a1jshin@chromium.org                  ],
146b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                } , { # else: OS=="ios"
147b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  'link_settings': {
148b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                    'mac_bundle_resources': [
149b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                      'source/data/in/icudtl.dat',
150b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                    ],
151b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  },
152b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                }], # OS!=ios
153b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              ], # conditions
15487a2c3f4b4907a5496dbc44713043474e5ffd513jshin@chromium.org            }], # icu_use_data_file_flag
155b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ], # conditions
156b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'target_conditions': [
157b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'OS == "win" or OS == "mac" or OS == "ios" or '
158b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              '(OS == "android" and (_toolset != "host" or host_os != "linux")) or '
159b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', {
1604e4932615b7e125ce9e7a5a3972bc3237cb8e1b0jshin@chromium.org              'sources!': ['linux/icudtl_dat.S'],
161b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
162b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'OS != "android" or _toolset == "host"', {
1634e4932615b7e125ce9e7a5a3972bc3237cb8e1b0jshin@chromium.org              'sources!': ['android/icudtl_dat.S'],
164b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
165b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'OS != "mac" and OS != "ios" and '
166b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              '((OS != "android" and OS != "qnx") or '
167b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              '_toolset != "host" or host_os != "mac")', {
1684e4932615b7e125ce9e7a5a3972bc3237cb8e1b0jshin@chromium.org              'sources!': ['mac/icudtl_dat.S'],
169b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
170b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ], # target_conditions
171b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        },
172b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        {
173b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'target_name': 'icui18n',
174b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'type': '<(component)',
175b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'sources': [
176b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '<@(icui18n_sources)',
177b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
178b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'defines': [
179b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'U_I18N_IMPLEMENTATION',
180b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
181b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'dependencies': [
182b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'icuuc',
183b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
184b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'direct_dependent_settings': {
185b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'include_dirs': [
186b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'source/i18n',
187b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ],
188b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          },
189471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org          'variables': {
190471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org            'clang_warning_flags': [
191471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # ICU uses its own deprecated functions.
192471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              '-Wno-deprecated-declarations',
193471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # ICU prefers `a && b || c` over `(a && b) || c`.
194471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              '-Wno-logical-op-parentheses',
195471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # ICU has some `unsigned < 0` checks.
196471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              '-Wno-tautological-compare',
197471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # Looks like a real issue, see http://crbug.com/114660
198471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              '-Wno-return-type-c-linkage',
199471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org            ],
200471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org          },
201b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          # Since ICU wants to internally use its own deprecated APIs, don't
202b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          # complain about it.
203b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'cflags': [
204b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '-Wno-deprecated-declarations',
205b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
206b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'cflags_cc': [
207b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '-frtti',
208b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
209b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'xcode_settings': {
210b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'GCC_ENABLE_CPP_RTTI': 'YES',       # -frtti
211b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          },
212b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'msvs_settings': {
213b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'VCCLCompilerTool': {
214b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'RuntimeTypeInfo': 'true',
215b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            },
216b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          },
217b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'conditions': [
218b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==1 and want_separate_host_toolset==1', {
219b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['host'],
220b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
221b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==0 and want_separate_host_toolset==1', {
222b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['host', 'target'],
223b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
224b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==0 and want_separate_host_toolset==0', {
225b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['target'],
226b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
227b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ['OS == "android" and clang==0', {
228b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                # Disable sincos() optimization to avoid a linker error since
229b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                # Android's math library doesn't have sincos().  Either
230b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                # -fno-builtin-sin or -fno-builtin-cos works.
231b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                'cflags': [
232b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                    '-fno-builtin-sin',
233b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ],
234b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
235527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org            [ 'OS == "win" and clang==1', {
236527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org              # Note: General clang warnings should go in the
237527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org              # clang_warning_flags block above.
238527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org              'msvs_settings': {
239527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org                'VCCLCompilerTool': {
240527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org                  'AdditionalOptions': [
241527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org                    # See http://bugs.icu-project.org/trac/ticket/11122
242527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org                    '-Wno-inline-new-delete',
243527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org                    '-Wno-implicit-exception-spec-mismatch',
244527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org                  ],
245527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org                },
246527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org              },
247527ea2dd86afa2751a85d1cc4695f9e2e2d18022thakis@chromium.org            }],
248b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ['OS == "android" and use_system_stlport == 1', {
249b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'target_conditions': [
250b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ['_toolset == "target"', {
251b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  # ICU requires RTTI, which is not present in the system's
252b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  # stlport, so we have to include gabi++.
253b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  'include_dirs': [
254b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                    '<(android_src)/abi/cpp/include',
255b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  ],
256b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                }],
257b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              ],
258b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
259b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ], # conditions
260b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        },
261b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        {
262b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'target_name': 'icuuc',
263b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'type': '<(component)',
264b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'sources': [
265b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '<@(icuuc_sources)',
266b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
267b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'defines': [
268b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'U_COMMON_IMPLEMENTATION',
269b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
270b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'dependencies': [
271b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'icudata',
272b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
273b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'direct_dependent_settings': {
274b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'include_dirs': [
275b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'source/common',
276b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ],
277b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'conditions': [
278b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              [ 'component=="static_library"', {
279b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                'defines': [
280b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  'U_STATIC_IMPLEMENTATION',
281b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ],
282b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              }],
283b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ],
284b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          },
285471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org          'variables': {
286471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org            'clang_warning_flags': [
287471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # ICU uses its own deprecated functions.
288471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              '-Wno-deprecated-declarations',
289471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # ICU prefers `a && b || c` over `(a && b) || c`.
290471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              '-Wno-logical-op-parentheses',
291471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # ICU has some `unsigned < 0` checks.
292471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              '-Wno-tautological-compare',
293471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # uresdata.c has switch(RES_GET_TYPE(x)) code. The
294471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # RES_GET_TYPE macro returns an UResType enum, but some switch
295471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # statement contains case values that aren't part of that
296471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # enum (e.g. URES_TABLE32 which is in UResInternalType). This
297471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              # is on purpose.
298471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org              '-Wno-switch',
299471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org            ],
300471c37c8bf67983b26e0db03d6d7ee81112ce2ddthakis@chromium.org          },
301b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'cflags': [
302b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            # Since ICU wants to internally use its own deprecated APIs,
303b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            # don't complain about it.
304b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '-Wno-deprecated-declarations',
305b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '-Wno-unused-function',
306b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
307b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'cflags_cc': [
308b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '-frtti',
309b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
310b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'xcode_settings': {
311b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'GCC_ENABLE_CPP_RTTI': 'YES',       # -frtti
312b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          },
313b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'msvs_settings': {
314b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'VCCLCompilerTool': {
315b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'RuntimeTypeInfo': 'true',
316b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            },
317b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          },
31826d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org          'all_dependent_settings': {
31926d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org            'msvs_settings': {
32026d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org              'VCLinkerTool': {
32126d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org                'AdditionalDependencies': [
32226d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org                  'advapi32.lib',
32326d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org                ],
32426d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org              },
32526d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org            },
32626d8859357ac0bfb86b939bf21c087b8eae22494jshin@chromium.org          },
327b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'conditions': [
328b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==1 and want_separate_host_toolset==1', {
329b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['host'],
330b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
331b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==0 and want_separate_host_toolset==1', {
332b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['host', 'target'],
333b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
334b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            [ 'use_system_icu==0 and want_separate_host_toolset==0', {
335b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'toolsets': ['target'],
336b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
337fdf0bb34eaddce23811770b987ecf95ee18572d6scottmg@chromium.org            [ 'OS == "win" and icu_use_data_file_flag==0', {
338b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'sources': [
339b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                'source/stubdata/stubdata.c',
340b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              ],
341b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
34204330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org            [ 'OS == "win" and clang==1', {
34304330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org              # Note: General clang warnings should go in the
34404330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org              # clang_warning_flags block above.
34504330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org              'msvs_settings': {
34604330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org                'VCCLCompilerTool': {
34704330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org                  'AdditionalOptions': [
34804330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org                    # See http://bugs.icu-project.org/trac/ticket/11122
34904330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org                    '-Wno-inline-new-delete',
35004330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org                    '-Wno-implicit-exception-spec-mismatch',
35104330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org                  ],
35204330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org                },
35304330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org              },
35404330715234f76e3de38ad303a57fb07733aad42thakis@chromium.org            }],
355b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ['OS == "android" and use_system_stlport == 1', {
356b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'target_conditions': [
357b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ['_toolset == "target"', {
358b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  # ICU requires RTTI, which is not present in the system's
359b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  # stlport, so we have to include gabi++.
360b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  'include_dirs': [
361b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                    '<(android_src)/abi/cpp/include',
362b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  ],
363b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                }],
364b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              ],
365b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
366b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ], # conditions
367b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        },
368b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      ], # targets
369b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    }],
370b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    ['use_system_icu==1', {
371b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      'targets': [
372b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        {
373b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'target_name': 'system_icu',
374b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'type': 'none',
375b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'conditions': [
376b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ['OS=="android"', {
377b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'direct_dependent_settings': {
378b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                'include_dirs': [
37995bfa8555ce12fad2dffa00dc072f3280dabe0c9hjd@chromium.org                  '<(android_src)/external/icu/icu4c/source/common',
38095bfa8555ce12fad2dffa00dc072f3280dabe0c9hjd@chromium.org                  '<(android_src)/external/icu/icu4c/source/i18n',
381b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ],
382b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              },
383b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'link_settings': {
384b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                'libraries': [
385b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  '-licui18n',
386b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  '-licuuc',
387b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ],
388b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              },
389b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
390b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ['OS=="qnx"', {
391b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'link_settings': {
392b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                'libraries': [
393b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  '-licui18n',
394b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  '-licuuc',
395b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ],
396b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              },
397b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
398b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ['OS!="android" and OS!="qnx"', {
399b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'link_settings': {
400b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                'ldflags': [
401b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  '<!@(icu-config --ldflags)',
402b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ],
403b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                'libraries': [
404b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                  '<!@(icu-config --ldflags-libsonly)',
405b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org                ],
406b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              },
407b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            }],
408b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
409b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        },
410b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        {
411b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'target_name': 'icudata',
412b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'type': 'none',
413b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'dependencies': ['system_icu'],
414b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'export_dependent_settings': ['system_icu'],
415b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'toolsets': ['target'],
416b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        },
417b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        {
418b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'target_name': 'icui18n',
419b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'type': 'none',
420b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'dependencies': ['system_icu'],
421b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'export_dependent_settings': ['system_icu'],
422b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'variables': {
423b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'headers_root_path': 'source/i18n',
424b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'header_filenames': [
425b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # This list can easily be updated using the command below:
426b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # find third_party/icu/source/i18n/unicode -iname '*.h' \
427b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # -printf "'%p',\n" | \
428b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # sed -e 's|third_party/icu/source/i18n/||' | sort -u
429b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/alphaindex.h',
430b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/basictz.h',
431b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/calendar.h',
432b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/choicfmt.h',
433b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/coleitr.h',
434b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/coll.h',
435b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/compactdecimalformat.h',
436b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/curramt.h',
437b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/currpinf.h',
438b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/currunit.h',
439b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/datefmt.h',
440b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/dcfmtsym.h',
441b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/decimfmt.h',
442b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/dtfmtsym.h',
443b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/dtitvfmt.h',
444b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/dtitvinf.h',
445b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/dtptngen.h',
446b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/dtrule.h',
447b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/fieldpos.h',
448b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/fmtable.h',
449b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/format.h',
450b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/fpositer.h',
451b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/gender.h',
452b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/gregocal.h',
453b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/locdspnm.h',
454b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/measfmt.h',
455b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/measunit.h',
456b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/measure.h',
457b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/msgfmt.h',
458b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/numfmt.h',
459b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/numsys.h',
460b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/plurfmt.h',
461b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/plurrule.h',
462b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/rbnf.h',
463b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/rbtz.h',
464b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/regex.h',
465b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/region.h',
466b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/search.h',
467b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/selfmt.h',
468b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/simpletz.h',
469b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/smpdtfmt.h',
470b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/sortkey.h',
471b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/stsearch.h',
472b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/tblcoll.h',
473b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/timezone.h',
474b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/tmunit.h',
475b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/tmutamt.h',
476b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/tmutfmt.h',
477b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/translit.h',
478b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/tzfmt.h',
479b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/tznames.h',
480b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/tzrule.h',
481b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/tztrans.h',
482b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucal.h',
483b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucoleitr.h',
484b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucol.h',
485b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucsdet.h',
486b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucurr.h',
487b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/udateintervalformat.h',
488b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/udat.h',
489b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/udatpg.h',
490b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/udisplaycontext.h',
491b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uformattable.h',
492b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ugender.h',
493b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uldnames.h',
494b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ulocdata.h',
495b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/umsg.h',
496b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unirepl.h',
497b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unum.h',
498b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unumsys.h',
499b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/upluralrules.h',
500b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uregex.h',
501b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uregion.h',
502b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/usearch.h',
503b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uspoof.h',
504b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utmscale.h',
505b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utrans.h',
506b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/vtzone.h',
507b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ],
508b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          },
509b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'includes': [
510b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '../../build/shim_headers.gypi',
511b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
512b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'toolsets': ['target'],
513b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        },
514b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        {
515b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'target_name': 'icuuc',
516b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'type': 'none',
517b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'dependencies': ['system_icu'],
518b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'export_dependent_settings': ['system_icu'],
519b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'variables': {
520b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'headers_root_path': 'source/common',
521b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            'header_filenames': [
522b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # This list can easily be updated using the command below:
523b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # find third_party/icu/source/common/unicode -iname '*.h' \
524b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # -printf "'%p',\n" | \
525b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              # sed -e 's|third_party/icu/source/common/||' | sort -u
526b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/appendable.h',
527b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/brkiter.h',
528b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/bytestream.h',
529b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/bytestriebuilder.h',
530b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/bytestrie.h',
531b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/caniter.h',
532b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/chariter.h',
533b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/dbbi.h',
534b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/docmain.h',
535b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/dtintrv.h',
536b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/enumset.h',
537b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/errorcode.h',
538b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/icudataver.h',
539b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/icuplug.h',
540b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/idna.h',
541b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/listformatter.h',
542b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/localpointer.h',
543b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/locid.h',
544b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/messagepattern.h',
545b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/normalizer2.h',
546b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/normlzr.h',
547b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/parseerr.h',
548b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/parsepos.h',
549b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/platform.h',
550b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ptypes.h',
551b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/putil.h',
552b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/rbbi.h',
553b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/rep.h',
554b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/resbund.h',
555b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/schriter.h',
556b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/std_string.h',
557b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/strenum.h',
558b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/stringpiece.h',
559b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/stringtriebuilder.h',
560b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/symtable.h',
561b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ubidi.h',
562b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ubrk.h',
563b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucasemap.h',
564b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucat.h',
565b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uchar.h',
566b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucharstriebuilder.h',
567b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucharstrie.h',
568b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uchriter.h',
569b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uclean.h',
570b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucnv_cb.h',
571b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucnv_err.h',
572b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucnv.h',
573b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ucnvsel.h',
574b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uconfig.h',
575b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/udata.h',
576b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uenum.h',
577b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uidna.h',
578b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uiter.h',
579b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uloc.h',
580b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/umachine.h',
581b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/umisc.h',
582b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unifilt.h',
583b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unifunct.h',
584b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unimatch.h',
585b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uniset.h',
586b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unistr.h',
587b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unorm2.h',
588b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/unorm.h',
589b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uobject.h',
590b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/urename.h',
591b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/urep.h',
592b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ures.h',
593b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uscript.h',
594b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uset.h',
595b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/usetiter.h',
596b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ushape.h',
597b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/usprep.h',
598b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ustring.h',
599b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/ustringtrie.h',
600b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utext.h',
601b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utf16.h',
602b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utf32.h',
603b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utf8.h',
604b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utf.h',
605b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utf_old.h',
606b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utrace.h',
607b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/utypes.h',
608b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uvernum.h',
609b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org              'unicode/uversion.h',
610b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            ],
611b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          },
612b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'includes': [
613b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org            '../../build/shim_headers.gypi',
614b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          ],
615b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org          'toolsets': ['target'],
616b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org        },
617b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org      ], # targets
618b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org    }],
619b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org  ], # conditions
620b56484028c6eff42dc71fd4b9fc6bc82e856fb78jshin@chromium.org}
621