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 # If any of the linux_link_FOO below are set to 1, then the corresponding | 7 # If any of the linux_link_FOO below are set to 1, then the corresponding |
8 # target will be linked against the FOO library (either dynamically or | 8 # target will be linked against the FOO library (either dynamically or |
9 # statically, depending on the pkg-config files), as opposed to loading the | 9 # statically, depending on the pkg-config files), as opposed to loading the |
10 # FOO library dynamically with dlopen. | 10 # FOO library dynamically with dlopen. |
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1239 }], | 1239 }], |
1240 ], | 1240 ], |
1241 }], | 1241 }], |
1242 ], | 1242 ], |
1243 }, | 1243 }, |
1244 { | 1244 { |
1245 'target_name': 'ssl', | 1245 'target_name': 'ssl', |
1246 'type': 'none', | 1246 'type': 'none', |
1247 'conditions': [ | 1247 'conditions': [ |
1248 ['_toolset=="target"', { | 1248 ['_toolset=="target"', { |
1249 'dependencies': [ | |
1250 '../../third_party/boringssl/boringssl.gyp:boringssl', | |
davidben
2016/04/18 16:27:12
For a follow-up probably since this is already hug
svaldez
2016/04/18 20:21:40
Acknowledged.
| |
1251 ], | |
1249 'conditions': [ | 1252 'conditions': [ |
1250 ['use_openssl==1', { | 1253 # Link in the system NSS if it is used for the platform certificate |
1251 'dependencies': [ | |
1252 '../../third_party/boringssl/boringssl.gyp:boringssl', | |
1253 ], | |
1254 }, { | |
1255 'dependencies': [ | |
1256 '../../net/third_party/nss/ssl.gyp:libssl', | |
1257 ], | |
1258 'direct_dependent_settings': { | |
1259 'include_dirs+': [ | |
1260 # We need for our local copies of the libssl3 headers to come | |
1261 # before other includes, as we are shadowing system headers. | |
1262 '<(DEPTH)/net/third_party/nss/ssl', | |
1263 ], | |
1264 }, | |
1265 }], | |
1266 # Link in the system NSS if it is used for either the internal | |
1267 # crypto library (use_openssl==0) or platform certificate | |
1268 # library (use_nss_certs==1). | 1254 # library (use_nss_certs==1). |
1269 ['use_openssl==0 or use_nss_certs==1', { | 1255 ['use_nss_certs==1', { |
1270 'direct_dependent_settings': { | 1256 'direct_dependent_settings': { |
1271 'cflags': [ | 1257 'cflags': [ |
1272 '<!@(<(pkg-config) --cflags nss)', | 1258 '<!@(<(pkg-config) --cflags nss)', |
1273 ], | 1259 ], |
1274 }, | 1260 }, |
1275 'link_settings': { | 1261 'link_settings': { |
1276 'ldflags': [ | 1262 'ldflags': [ |
1277 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', | 1263 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', |
1278 ], | 1264 ], |
1279 'libraries': [ | 1265 'libraries': [ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1312 ], | 1298 ], |
1313 'libraries': [ | 1299 'libraries': [ |
1314 '<!@(<(pkg-config) --libs-only-l libffi)', | 1300 '<!@(<(pkg-config) --libs-only-l libffi)', |
1315 ], | 1301 ], |
1316 }, | 1302 }, |
1317 }], | 1303 }], |
1318 ], | 1304 ], |
1319 }, | 1305 }, |
1320 ], | 1306 ], |
1321 } | 1307 } |
OLD | NEW |