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
3 # found in the LICENSE file.
8 '../../native_client/build/untrusted.gypi',
11 'direct_dependent_settings': {
13 # Tell ICU to not insert |using namespace icu;| into its headers,
14 # so that chrome's source explicitly has to use |icu::|.
15 'U_USING_ICU_NAMESPACE=0',
16 # We don't use ICU plugins and dyload is only necessary for them.
17 # NaCl-related builds also fail looking for dlfcn.h when it's enabled.
22 'U_USING_ICU_NAMESPACE=0',
23 'U_STATIC_IMPLEMENTATION',
29 'pnacl_compile_flags': [
30 '-Wno-char-subscripts',
31 '-Wno-deprecated-declarations',
32 '-Wno-header-hygiene',
33 '-Wno-logical-op-parentheses',
34 '-Wno-return-type-c-linkage',
36 '-Wno-tautological-compare',
37 '-Wno-unused-variable'
42 'target_name': 'icudata_nacl',
45 'nlib_target': 'libicudata_nacl.a',
48 'build_pnacl_newlib': 1,
51 'source/stubdata/stubdata.c',
52 # Temporary work around for an incremental build NOT rebuilding
53 # icudata_nacl after an ICU version change.
54 # TODO(jungshik): Remove it once a fix for bug 384752 is in.
55 'source/common/unicode/uvernum.h',
58 '../../native_client/tools.gyp:prep_toolchain',
62 'target_name': 'icui18n_nacl',
65 'nlib_target': 'libicui18n_nacl.a',
68 'build_pnacl_newlib': 1,
71 '<@(icui18n_sources)',
74 'U_I18N_IMPLEMENTATION',
77 '../../native_client/tools.gyp:prep_toolchain',
80 'direct_dependent_settings': {
87 'target_name': 'icuuc_nacl',
90 'nlib_target': 'libicuuc_nacl.a',
93 'build_pnacl_newlib': 1,
99 'U_COMMON_IMPLEMENTATION',
102 '../../native_client/tools.gyp:prep_toolchain',
105 'direct_dependent_settings': {
110 'U_STATIC_IMPLEMENTATION',