Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Side by Side Diff: build/secondary/third_party/nss/BUILD.gn

Issue 1930773002: Always set symbol visibility when compiling with GCC / Clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/gcc/BUILD.gn ('k') | ios/third_party/earl_grey/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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.
OLDNEW
« no previous file with comments | « build/config/gcc/BUILD.gn ('k') | ios/third_party/earl_grey/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698