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 18 matching lines...) Expand all Loading... |
29 '-Wno-header-hygiene', | 29 '-Wno-header-hygiene', |
30 '-Wno-logical-op-parentheses', | 30 '-Wno-logical-op-parentheses', |
31 '-Wno-return-type-c-linkage', | 31 '-Wno-return-type-c-linkage', |
32 '-Wno-switch', | 32 '-Wno-switch', |
33 '-Wno-tautological-compare', | 33 '-Wno-tautological-compare', |
34 '-Wno-unused-variable' | 34 '-Wno-unused-variable' |
35 ], | 35 ], |
36 }, | 36 }, |
37 'targets': [ | 37 'targets': [ |
38 { | 38 { |
39 'target_name': 'icudata_untrusted', | 39 'target_name': 'icudata_nacl', |
40 'type': 'none', | 40 'type': 'none', |
41 'variables': { | 41 'variables': { |
42 'nlib_target': 'libicudata_untrusted.a', | 42 'nlib_target': 'libicudata_nacl.a', |
43 'build_glibc': 0, | 43 'build_glibc': 0, |
44 'build_newlib': 0, | 44 'build_newlib': 0, |
45 'build_pnacl_newlib': 1, | 45 'build_pnacl_newlib': 1, |
46 }, | 46 }, |
47 'sources': [ | 47 'sources': [ |
48 'source/stubdata/stubdata.c', | 48 'source/stubdata/stubdata.c', |
49 ], | 49 ], |
50 'dependencies': [ | 50 'dependencies': [ |
51 '../../native_client/tools.gyp:prep_toolchain', | 51 '../../native_client/tools.gyp:prep_toolchain', |
52 ], | 52 ], |
53 }, | 53 }, |
54 { | 54 { |
55 'target_name': 'icui18n_untrusted', | 55 'target_name': 'icui18n_nacl', |
56 'type': 'none', | 56 'type': 'none', |
57 'variables': { | 57 'variables': { |
58 'nlib_target': 'libicui18n_untrusted.a', | 58 'nlib_target': 'libicui18n_nacl.a', |
59 'build_glibc': 0, | 59 'build_glibc': 0, |
60 'build_newlib': 0, | 60 'build_newlib': 0, |
61 'build_pnacl_newlib': 1, | 61 'build_pnacl_newlib': 1, |
62 }, | 62 }, |
63 'sources': [ | 63 'sources': [ |
64 '<@(icui18n_sources)', | 64 '<@(icui18n_sources)', |
65 ], | 65 ], |
66 'defines': [ | 66 'defines': [ |
67 'U_I18N_IMPLEMENTATION', | 67 'U_I18N_IMPLEMENTATION', |
68 ], | 68 ], |
69 'dependencies': [ | 69 'dependencies': [ |
70 '../../native_client/tools.gyp:prep_toolchain', | 70 '../../native_client/tools.gyp:prep_toolchain', |
71 'icuuc_untrusted', | 71 'icuuc_nacl', |
72 ], | 72 ], |
73 'direct_dependent_settings': { | 73 'direct_dependent_settings': { |
74 'include_dirs': [ | 74 'include_dirs': [ |
75 'source/i18n', | 75 'source/i18n', |
76 ], | 76 ], |
77 }, | 77 }, |
78 }, | 78 }, |
79 { | 79 { |
80 'target_name': 'icuuc_untrusted', | 80 'target_name': 'icuuc_nacl', |
81 'type': 'none', | 81 'type': 'none', |
82 'variables': { | 82 'variables': { |
83 'nlib_target': 'libicuuc_untrusted.a', | 83 'nlib_target': 'libicuuc_nacl.a', |
84 'build_glibc': 0, | 84 'build_glibc': 0, |
85 'build_newlib': 0, | 85 'build_newlib': 0, |
86 'build_pnacl_newlib': 1, | 86 'build_pnacl_newlib': 1, |
87 }, | 87 }, |
88 'sources': [ | 88 'sources': [ |
89 '<@(icuuc_sources)', | 89 '<@(icuuc_sources)', |
90 ], | 90 ], |
91 'defines': [ | 91 'defines': [ |
92 'U_COMMON_IMPLEMENTATION', | 92 'U_COMMON_IMPLEMENTATION', |
93 ], | 93 ], |
94 'dependencies': [ | 94 'dependencies': [ |
95 '../../native_client/tools.gyp:prep_toolchain', | 95 '../../native_client/tools.gyp:prep_toolchain', |
96 'icudata_untrusted', | 96 'icudata_nacl', |
97 ], | 97 ], |
98 'direct_dependent_settings': { | 98 'direct_dependent_settings': { |
99 'include_dirs': [ | 99 'include_dirs': [ |
100 'source/common', | 100 'source/common', |
101 ], | 101 ], |
102 'defines': [ | 102 'defines': [ |
103 'U_STATIC_IMPLEMENTATION', | 103 'U_STATIC_IMPLEMENTATION', |
104 ], | 104 ], |
105 }, | 105 }, |
106 }, | 106 }, |
107 ], | 107 ], |
108 } | 108 } |
OLD | NEW |