| 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 import("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
| 6 | 6 |
| 7 if (is_linux) { | 7 if (is_linux) { |
| 8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL | 8 # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL |
| 9 # library but the system NSS libraries. Non-Linux platforms using NSS use the | 9 # library but the system NSS libraries. Non-Linux platforms using NSS use the |
| 10 # hermetic one in //third_party/nss. | 10 # hermetic one in //third_party/nss. |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 | 352 |
| 353 if (include_nss_root_certs) { | 353 if (include_nss_root_certs) { |
| 354 deps += [ ":nssckbi" ] | 354 deps += [ ":nssckbi" ] |
| 355 } | 355 } |
| 356 | 356 |
| 357 if (component_mode == "shared_library") { | 357 if (component_mode == "shared_library") { |
| 358 if (is_mac) { | 358 if (is_mac) { |
| 359 cflags = [ "-all_load" ] | 359 cflags = [ "-all_load" ] |
| 360 } else if (is_win) { | 360 } else if (is_win) { |
| 361 # Pass the def file to the linker. | 361 # Pass the def file to the linker. |
| 362 ldflags += [ rebase_path("nss/exports_win.def", root_build_dir) ] | 362 ldflags = [ rebase_path("nss/exports_win.def", root_build_dir) ] |
| 363 } | 363 } |
| 364 } | 364 } |
| 365 | 365 |
| 366 forward_dependent_configs_from = deps | 366 forward_dependent_configs_from = deps |
| 367 } | 367 } |
| 368 | 368 |
| 369 config("nssckbi_config") { | 369 config("nssckbi_config") { |
| 370 include_dirs = [ "nss/lib/ckfw/builtins" ] | 370 include_dirs = [ "nss/lib/ckfw/builtins" ] |
| 371 } | 371 } |
| 372 | 372 |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1150 | 1150 |
| 1151 deps = [ | 1151 deps = [ |
| 1152 ":nspr", | 1152 ":nspr", |
| 1153 "//third_party/sqlite", | 1153 "//third_party/sqlite", |
| 1154 ] | 1154 ] |
| 1155 | 1155 |
| 1156 forward_dependent_configs_from = [ ":nspr" ] | 1156 forward_dependent_configs_from = [ ":nspr" ] |
| 1157 } | 1157 } |
| 1158 } # Windows/Mac/iOS. | 1158 } # Windows/Mac/iOS. |
| 1159 | 1159 |
| OLD | NEW |