| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 ] | 879 ] |
| 880 | 880 |
| 881 configs -= [ | 881 configs -= [ |
| 882 "//build/config/compiler:chromium_code", | 882 "//build/config/compiler:chromium_code", |
| 883 "//build/config/gcc:symbol_visibility_hidden", | 883 "//build/config/gcc:symbol_visibility_hidden", |
| 884 ] | 884 ] |
| 885 | 885 |
| 886 configs += [ | 886 configs += [ |
| 887 "//build/config/compiler:no_chromium_code", | 887 "//build/config/compiler:no_chromium_code", |
| 888 "//build/config/compiler:no_size_t_to_int_warning", | 888 "//build/config/compiler:no_size_t_to_int_warning", |
| 889 "//build/config/gcc:symbol_visibility_default", |
| 889 | 890 |
| 890 # nss passes "const char*" through "void*". | 891 # nss passes "const char*" through "void*". |
| 891 "//build/config/compiler:no_incompatible_pointer_warnings", | 892 "//build/config/compiler:no_incompatible_pointer_warnings", |
| 892 ":nss_static_config_private", | 893 ":nss_static_config_private", |
| 893 ] | 894 ] |
| 894 public_configs = [ ":nss_static_config" ] | 895 public_configs = [ ":nss_static_config" ] |
| 895 | 896 |
| 896 cflags = [ | 897 cflags = [ |
| 897 "-include", | 898 "-include", |
| 898 rebase_path("//third_party/nss/nss/lib/freebl/nss_build_config_mac.h", | 899 rebase_path("//third_party/nss/nss/lib/freebl/nss_build_config_mac.h", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 | 935 |
| 935 public_deps = [ | 936 public_deps = [ |
| 936 ":nspr", | 937 ":nspr", |
| 937 ] | 938 ] |
| 938 deps = [ | 939 deps = [ |
| 939 ":nspr", | 940 ":nspr", |
| 940 "//third_party/sqlite", | 941 "//third_party/sqlite", |
| 941 ] | 942 ] |
| 942 } | 943 } |
| 943 } # iOS. | 944 } # iOS. |
| OLD | NEW |