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

Side by Side Diff: tools/gn/secondary/net/third_party/nss/BUILD.gn

Issue 138273007: Convert GN single-item list concat to use lists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « tools/gn/secondary/net/BUILD.gn ('k') | tools/gn/secondary/skia/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 (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
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 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/net/BUILD.gn ('k') | tools/gn/secondary/skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698