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

Side by Side Diff: build/linux/system.gyp

Issue 1028863002: remove -Wno-header-guard workaround for old versions of NSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['sysroot!=""', { 8 ['sysroot!=""', {
9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target _arch)" "<(system_libdir)"', 9 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target _arch)" "<(system_libdir)"',
10 }, { 10 }, {
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 }, 1197 },
1198 'link_settings': { 1198 'link_settings': {
1199 'ldflags': [ 1199 'ldflags': [
1200 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', 1200 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)',
1201 ], 1201 ],
1202 'libraries': [ 1202 'libraries': [
1203 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', 1203 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")',
1204 ], 1204 ],
1205 }, 1205 },
1206 }], 1206 }],
1207 ['use_openssl==0 and clang==1', {
1208 'direct_dependent_settings': {
1209 'cflags': [
1210 # There is a broken header guard in /usr/include/nss/secmod.h:
1211 # https://bugzilla.mozilla.org/show_bug.cgi?id=884072
1212 '-Wno-header-guard',
1213 ],
1214 },
1215 }],
1216 ] 1207 ]
1217 }], 1208 }],
1218 ], 1209 ],
1219 }, 1210 },
1220 ], 1211 ],
1221 } 1212 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698