| 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 'includes': [ | 6 'includes': [ |
| 7 'icu.gypi', | 7 'icu.gypi', |
| 8 '../../native_client/build/untrusted.gypi', | 8 '../../native_client/build/untrusted.gypi', |
| 9 ], | 9 ], |
| 10 'target_defaults': { | 10 'target_defaults': { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 'build_newlib': 0, | 47 'build_newlib': 0, |
| 48 'build_pnacl_newlib': 1, | 48 'build_pnacl_newlib': 1, |
| 49 }, | 49 }, |
| 50 'sources': [ | 50 'sources': [ |
| 51 'source/stubdata/stubdata.c', | 51 'source/stubdata/stubdata.c', |
| 52 # Temporary work around for an incremental build NOT rebuilding | 52 # Temporary work around for an incremental build NOT rebuilding |
| 53 # icudata_nacl after an ICU version change. | 53 # icudata_nacl after an ICU version change. |
| 54 # TODO(jungshik): Remove it once a fix for bug 384752 is in. | 54 # TODO(jungshik): Remove it once a fix for bug 384752 is in. |
| 55 'source/common/unicode/uvernum.h', | 55 'source/common/unicode/uvernum.h', |
| 56 ], | 56 ], |
| 57 'dependencies': [ | |
| 58 '../../native_client/tools.gyp:prep_toolchain', | |
| 59 ], | |
| 60 }, | 57 }, |
| 61 { | 58 { |
| 62 'target_name': 'icui18n_nacl', | 59 'target_name': 'icui18n_nacl', |
| 63 'type': 'none', | 60 'type': 'none', |
| 64 'variables': { | 61 'variables': { |
| 65 'nlib_target': 'libicui18n_nacl.a', | 62 'nlib_target': 'libicui18n_nacl.a', |
| 66 'build_glibc': 0, | 63 'build_glibc': 0, |
| 67 'build_newlib': 0, | 64 'build_newlib': 0, |
| 68 'build_pnacl_newlib': 1, | 65 'build_pnacl_newlib': 1, |
| 69 }, | 66 }, |
| 70 'sources': [ | 67 'sources': [ |
| 71 '<@(icui18n_sources)', | 68 '<@(icui18n_sources)', |
| 72 ], | 69 ], |
| 73 'defines': [ | 70 'defines': [ |
| 74 'U_I18N_IMPLEMENTATION', | 71 'U_I18N_IMPLEMENTATION', |
| 75 ], | 72 ], |
| 76 'dependencies': [ | 73 'dependencies': [ |
| 77 '../../native_client/tools.gyp:prep_toolchain', | |
| 78 'icuuc_nacl', | 74 'icuuc_nacl', |
| 79 ], | 75 ], |
| 80 'direct_dependent_settings': { | 76 'direct_dependent_settings': { |
| 81 'include_dirs': [ | 77 'include_dirs': [ |
| 82 'source/i18n', | 78 'source/i18n', |
| 83 ], | 79 ], |
| 84 }, | 80 }, |
| 85 }, | 81 }, |
| 86 { | 82 { |
| 87 'target_name': 'icuuc_nacl', | 83 'target_name': 'icuuc_nacl', |
| 88 'type': 'none', | 84 'type': 'none', |
| 89 'variables': { | 85 'variables': { |
| 90 'nlib_target': 'libicuuc_nacl.a', | 86 'nlib_target': 'libicuuc_nacl.a', |
| 91 'build_glibc': 0, | 87 'build_glibc': 0, |
| 92 'build_newlib': 0, | 88 'build_newlib': 0, |
| 93 'build_pnacl_newlib': 1, | 89 'build_pnacl_newlib': 1, |
| 94 }, | 90 }, |
| 95 'sources': [ | 91 'sources': [ |
| 96 '<@(icuuc_sources)', | 92 '<@(icuuc_sources)', |
| 97 ], | 93 ], |
| 98 'defines': [ | 94 'defines': [ |
| 99 'U_COMMON_IMPLEMENTATION', | 95 'U_COMMON_IMPLEMENTATION', |
| 100 ], | 96 ], |
| 101 'dependencies': [ | 97 'dependencies': [ |
| 102 '../../native_client/tools.gyp:prep_toolchain', | |
| 103 'icudata_nacl', | 98 'icudata_nacl', |
| 104 ], | 99 ], |
| 105 'direct_dependent_settings': { | 100 'direct_dependent_settings': { |
| 106 'include_dirs': [ | 101 'include_dirs': [ |
| 107 'source/common', | 102 'source/common', |
| 108 ], | 103 ], |
| 109 'defines': [ | 104 'defines': [ |
| 110 'U_STATIC_IMPLEMENTATION', | 105 'U_STATIC_IMPLEMENTATION', |
| 111 ], | 106 ], |
| 112 }, | 107 }, |
| 113 }, | 108 }, |
| 114 ], | 109 ], |
| 115 } | 110 } |
| OLD | NEW |