OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['sysroot!=""', { | 8 ['sysroot!=""', { |
9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)" "<(system_libdir)"', | 9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target
_arch)" "<(system_libdir)"', |
10 }, { | 10 }, { |
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1117 'spd_close', | 1117 'spd_close', |
1118 'spd_pause', | 1118 'spd_pause', |
1119 'spd_resume', | 1119 'spd_resume', |
1120 'spd_set_notification_on', | 1120 'spd_set_notification_on', |
1121 'spd_set_voice_rate', | 1121 'spd_set_voice_rate', |
1122 'spd_set_voice_pitch', | 1122 'spd_set_voice_pitch', |
1123 'spd_list_synthesis_voices', | 1123 'spd_list_synthesis_voices', |
1124 'spd_set_synthesis_voice', | 1124 'spd_set_synthesis_voice', |
1125 'spd_list_modules', | 1125 'spd_list_modules', |
1126 'spd_set_output_module', | 1126 'spd_set_output_module', |
| 1127 'spd_set_language', |
1127 ], | 1128 ], |
1128 'message': 'Generating libspeechd library loader', | 1129 'message': 'Generating libspeechd library loader', |
1129 'process_outputs_as_sources': 1, | 1130 'process_outputs_as_sources': 1, |
1130 }, | 1131 }, |
1131 ], | 1132 ], |
1132 }, | 1133 }, |
1133 { | 1134 { |
1134 'target_name': 'pangocairo', | 1135 'target_name': 'pangocairo', |
1135 'type': 'none', | 1136 'type': 'none', |
1136 'toolsets': ['host', 'target'], | 1137 'toolsets': ['host', 'target'], |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1173 { | 1174 { |
1174 'target_name': 'ssl', | 1175 'target_name': 'ssl', |
1175 'type': 'none', | 1176 'type': 'none', |
1176 'conditions': [ | 1177 'conditions': [ |
1177 ['_toolset=="target"', { | 1178 ['_toolset=="target"', { |
1178 'conditions': [ | 1179 'conditions': [ |
1179 ['use_openssl==1', { | 1180 ['use_openssl==1', { |
1180 'dependencies': [ | 1181 'dependencies': [ |
1181 '../../third_party/boringssl/boringssl.gyp:boringssl', | 1182 '../../third_party/boringssl/boringssl.gyp:boringssl', |
1182 ], | 1183 ], |
1183 }], | 1184 }, { |
1184 ['use_openssl==0', { | |
1185 'dependencies': [ | 1185 'dependencies': [ |
1186 '../../net/third_party/nss/ssl.gyp:libssl', | 1186 '../../net/third_party/nss/ssl.gyp:libssl', |
1187 ], | 1187 ], |
1188 'direct_dependent_settings': { | 1188 'direct_dependent_settings': { |
1189 'include_dirs+': [ | 1189 'include_dirs+': [ |
1190 # We need for our local copies of the libssl3 headers to come | 1190 # We need for our local copies of the libssl3 headers to come |
1191 # before other includes, as we are shadowing system headers. | 1191 # before other includes, as we are shadowing system headers. |
1192 '<(DEPTH)/net/third_party/nss/ssl', | 1192 '<(DEPTH)/net/third_party/nss/ssl', |
1193 ], | 1193 ], |
| 1194 }, |
| 1195 }], |
| 1196 # Link in the system NSS if it is used for either the internal |
| 1197 # crypto library (use_openssl==0) or platform certificate |
| 1198 # library (use_nss_certs==1). |
| 1199 ['use_openssl==0 or use_nss_certs==1', { |
| 1200 'direct_dependent_settings': { |
1194 'cflags': [ | 1201 'cflags': [ |
1195 '<!@(<(pkg-config) --cflags nss)', | 1202 '<!@(<(pkg-config) --cflags nss)', |
1196 ], | 1203 ], |
1197 }, | 1204 }, |
1198 'link_settings': { | 1205 'link_settings': { |
1199 'ldflags': [ | 1206 'ldflags': [ |
1200 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', | 1207 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', |
1201 ], | 1208 ], |
1202 'libraries': [ | 1209 'libraries': [ |
1203 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', | 1210 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', |
1204 ], | 1211 ], |
1205 }, | 1212 }, |
1206 }], | 1213 'conditions': [ |
1207 ['use_openssl==0 and clang==1', { | 1214 ['clang==1', { |
1208 'direct_dependent_settings': { | 1215 'direct_dependent_settings': { |
1209 'cflags': [ | 1216 'cflags': [ |
1210 # There is a broken header guard in /usr/include/nss/secmod.h: | 1217 # There is a broken header guard in /usr/include/nss/secmo
d.h: |
1211 # https://bugzilla.mozilla.org/show_bug.cgi?id=884072 | 1218 # https://bugzilla.mozilla.org/show_bug.cgi?id=884072 |
1212 '-Wno-header-guard', | 1219 '-Wno-header-guard', |
1213 ], | 1220 ], |
1214 }, | 1221 }, |
| 1222 }], |
| 1223 ], |
1215 }], | 1224 }], |
1216 ] | 1225 ] |
1217 }], | 1226 }], |
1218 ], | 1227 ], |
1219 }, | 1228 }, |
1220 ], | 1229 ], |
1221 } | 1230 } |
OLD | NEW |