| 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 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 "ssl/win32err.h", | 60 "ssl/win32err.h", |
| 61 "ssl/bodge/secitem_array.c", | 61 "ssl/bodge/secitem_array.c", |
| 62 ] | 62 ] |
| 63 | 63 |
| 64 defines = [ | 64 defines = [ |
| 65 "NO_PKCS11_BYPASS", | 65 "NO_PKCS11_BYPASS", |
| 66 "NSS_ENABLE_ECC", | 66 "NSS_ENABLE_ECC", |
| 67 "USE_UTIL_DIRECTLY", | 67 "USE_UTIL_DIRECTLY", |
| 68 ] | 68 ] |
| 69 | 69 |
| 70 configs -= "//build/config/compiler:chromium_code" | 70 configs -= [ "//build/config/compiler:chromium_code" ] |
| 71 configs += "//build/config/compiler:no_chromium_code" | 71 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 72 | 72 |
| 73 direct_dependent_configs = [ ":ssl_config" ] | 73 direct_dependent_configs = [ ":ssl_config" ] |
| 74 | 74 |
| 75 if (is_win) { | 75 if (is_win) { |
| 76 sources -= [ | 76 sources -= [ |
| 77 "ssl/unix_err.c", | 77 "ssl/unix_err.c", |
| 78 "ssl/unix_err.h", | 78 "ssl/unix_err.h", |
| 79 ] | 79 ] |
| 80 } else { | 80 } else { |
| 81 sources -= [ | 81 sources -= [ |
| 82 "ssl/win32err.c", | 82 "ssl/win32err.c", |
| 83 "ssl/win32err.h", | 83 "ssl/win32err.h", |
| 84 ] | 84 ] |
| 85 } | 85 } |
| 86 | 86 |
| 87 if (is_linux) { | 87 if (is_linux) { |
| 88 include_dirs = [ "bodge" ] | 88 include_dirs = [ "bodge" ] |
| 89 configs += "//third_party/nss:nss_linux_config" | 89 configs += [ "//third_party/nss:nss_linux_config" ] |
| 90 } | 90 } |
| 91 if (is_mac) { | 91 if (is_mac) { |
| 92 sources -= "ssl/bodge/secitem_array.c" | 92 sources -= "ssl/bodge/secitem_array.c" |
| 93 } | 93 } |
| 94 } | 94 } |
| OLD | NEW |