OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |