OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 config("ssl_config") { | 5 config("ssl_config") { |
6 include_dirs = [ | 6 include_dirs = [ |
7 "//net/third_party/nss/ssl", | 7 "//net/third_party/nss/ssl", |
8 ] | 8 ] |
9 } | 9 } |
10 | 10 |
11 # TODO(brettw) move this to net/third_party/nss/ssl once GYP backwards-compat | 11 # TODO(brettw) move this to net/third_party/nss/ssl once GYP backwards-compat |
12 # is no longer needed. | 12 # is no longer needed. |
13 component("ssl") { | 13 component("ssl") { |
14 external = true | |
15 # Not named "ssl" so the lib doesn't conflict with OpenSSL's libssl | 14 # Not named "ssl" so the lib doesn't conflict with OpenSSL's libssl |
16 output_name = "crssl" | 15 output_name = "crssl" |
17 | 16 |
18 sources = [ | 17 sources = [ |
19 "ssl/authcert.c", | 18 "ssl/authcert.c", |
20 "ssl/cmpcert.c", | 19 "ssl/cmpcert.c", |
21 "ssl/derive.c", | 20 "ssl/derive.c", |
22 "ssl/dtlscon.c", | 21 "ssl/dtlscon.c", |
23 #"ssl/os2_err.c", | 22 #"ssl/os2_err.c", |
24 #"ssl/os2_err.h", | 23 #"ssl/os2_err.h", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 } | 84 } |
86 | 85 |
87 if (is_linux) { | 86 if (is_linux) { |
88 include_dirs = [ "bodge" ] | 87 include_dirs = [ "bodge" ] |
89 configs += [ "//third_party/nss:nss_linux_config" ] | 88 configs += [ "//third_party/nss:nss_linux_config" ] |
90 } | 89 } |
91 if (is_mac) { | 90 if (is_mac) { |
92 sources -= [ "ssl/bodge/secitem_array.c" ] | 91 sources -= [ "ssl/bodge/secitem_array.c" ] |
93 } | 92 } |
94 } | 93 } |
OLD | NEW |