| 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 | 7 |
| 8 if (is_mac || is_win) { | 8 if (is_mac || is_win) { |
| 9 defines = [ "NSS_PLATFORM_CLIENT_AUTH" ] | 9 defines = [ "NSS_PLATFORM_CLIENT_AUTH" ] |
| 10 } | 10 } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 ] | 67 ] |
| 68 | 68 |
| 69 configs -= [ "//build/config/compiler:chromium_code" ] | 69 configs -= [ "//build/config/compiler:chromium_code" ] |
| 70 configs += [ "//build/config/compiler:no_chromium_code" ] | 70 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 71 | 71 |
| 72 if (is_win) { | 72 if (is_win) { |
| 73 sources -= [ | 73 sources -= [ |
| 74 "unix_err.c", | 74 "unix_err.c", |
| 75 "unix_err.h", | 75 "unix_err.h", |
| 76 ] | 76 ] |
| 77 if (component_mode == "shared_library") { | 77 if (is_component_build) { |
| 78 ldflags = [ "/DEF:" + rebase_path("exports_win.def", root_build_dir) ] | 78 ldflags = [ "/DEF:" + rebase_path("exports_win.def", root_build_dir) ] |
| 79 } | 79 } |
| 80 } else if (is_linux) { | 80 } else if (is_linux) { |
| 81 if (component_mode == "shared_library") { | 81 if (is_component_build) { |
| 82 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] | 82 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
| 83 } | 83 } |
| 84 | 84 |
| 85 libs = [ "dl" ] | 85 libs = [ "dl" ] |
| 86 | 86 |
| 87 include_dirs = [ "bodge" ] | 87 include_dirs = [ "bodge" ] |
| 88 | 88 |
| 89 # Must be after ssl_config since we want our SSL headers to take | 89 # Must be after ssl_config since we want our SSL headers to take |
| 90 # precedence. | 90 # precedence. |
| 91 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] | 91 public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
| (...skipping 30 matching lines...) Expand all Loading... |
| 122 public_deps = [ | 122 public_deps = [ |
| 123 "//third_party/nss:nspr", | 123 "//third_party/nss:nspr", |
| 124 "//third_party/nss:nss", | 124 "//third_party/nss:nss", |
| 125 ] | 125 ] |
| 126 } | 126 } |
| 127 | 127 |
| 128 if (is_debug) { | 128 if (is_debug) { |
| 129 defines += [ "DEBUG" ] | 129 defines += [ "DEBUG" ] |
| 130 } | 130 } |
| 131 } | 131 } |
| OLD | NEW |