| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'conditions': [ | 6 'conditions': [ |
| 7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
| 8 'variables': { | 8 'variables': { |
| 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
| 10 }, | 10 }, |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 ], | 86 ], |
| 87 'direct_dependent_settings': { | 87 'direct_dependent_settings': { |
| 88 'cflags': [ | 88 'cflags': [ |
| 89 # We need for our local copies of the libssl3 headers to come | 89 # We need for our local copies of the libssl3 headers to come |
| 90 # first, otherwise the code will build, but will fallback to | 90 # first, otherwise the code will build, but will fallback to |
| 91 # the set of features advertised in the system headers. | 91 # the set of features advertised in the system headers. |
| 92 # Unfortunately, there's no include path that we can filter | 92 # Unfortunately, there's no include path that we can filter |
| 93 # out of $(pkg-config --cflags nss) and GYP include paths | 93 # out of $(pkg-config --cflags nss) and GYP include paths |
| 94 # come after cflags on the command line. So we have these | 94 # come after cflags on the command line. So we have these |
| 95 # bodges: | 95 # bodges: |
| 96 '-Inet/third_party/nss/ssl', # for make | 96 '-Inet/third_party/nss/ssl', # for mak
e |
| 97 '-IWebKit/chromium/net/third_party/nss/ssl', # for make in we
bkit | 97 '-ISource/WebKit/chromium/net/third_party/nss/ssl', # for mak
e in webkit |
| 98 '<!@(<(pkg-config) --cflags nss)', | 98 '<!@(<(pkg-config) --cflags nss)', |
| 99 ], | 99 ], |
| 100 }, | 100 }, |
| 101 'link_settings': { | 101 'link_settings': { |
| 102 'ldflags': [ | 102 'ldflags': [ |
| 103 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', | 103 '<!@(<(pkg-config) --libs-only-L --libs-only-other nss)', |
| 104 ], | 104 ], |
| 105 'libraries': [ | 105 'libraries': [ |
| 106 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', | 106 '<!@(<(pkg-config) --libs-only-l nss | sed -e "s/-lssl3//")', |
| 107 ], | 107 ], |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 }, | 347 }, |
| 348 }, | 348 }, |
| 349 ], | 349 ], |
| 350 } | 350 } |
| 351 | 351 |
| 352 # Local Variables: | 352 # Local Variables: |
| 353 # tab-width:2 | 353 # tab-width:2 |
| 354 # indent-tabs-mode:nil | 354 # indent-tabs-mode:nil |
| 355 # End: | 355 # End: |
| 356 # vim: set expandtab tabstop=2 shiftwidth=2: | 356 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |