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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 }]] | 69 }]] |
70 }, | 70 }, |
71 { | 71 { |
72 'target_name': 'nss', | 72 'target_name': 'nss', |
73 'type': 'settings', | 73 'type': 'settings', |
74 'conditions': [ | 74 'conditions': [ |
75 ['_toolset=="target"', { | 75 ['_toolset=="target"', { |
76 'conditions': [ | 76 'conditions': [ |
77 ['use_system_ssl==0', { | 77 ['use_system_ssl==0', { |
78 'dependencies': [ | 78 'dependencies': [ |
79 '../../net/third_party/nss/nss.gyp:ssl', | 79 '../../net/third_party/nss/ssl.gyp:ssl', |
80 '../../third_party/zlib/zlib.gyp:zlib', | 80 '../../third_party/zlib/zlib.gyp:zlib', |
81 ], | 81 ], |
82 'direct_dependent_settings': { | 82 'direct_dependent_settings': { |
83 'cflags': [ | 83 'cflags': [ |
84 # We need for our local copies of the libssl headers to come | 84 # We need for our local copies of the libssl headers to come |
85 # first, otherwise the code will build, but will fallback to | 85 # first, otherwise the code will build, but will fallback to |
86 # the set of features advertised in the system headers. | 86 # the set of features advertised in the system headers. |
87 # Unfortunately, there's no include path that we can filter | 87 # Unfortunately, there's no include path that we can filter |
88 # out of $(pkg-config --cflags nss) and GYP include paths | 88 # out of $(pkg-config --cflags nss) and GYP include paths |
89 # come after cflags on the command line. So we have these | 89 # come after cflags on the command line. So we have these |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 }, | 292 }, |
293 }, | 293 }, |
294 ], | 294 ], |
295 } | 295 } |
296 | 296 |
297 # Local Variables: | 297 # Local Variables: |
298 # tab-width:2 | 298 # tab-width:2 |
299 # indent-tabs-mode:nil | 299 # indent-tabs-mode:nil |
300 # End: | 300 # End: |
301 # vim: set expandtab tabstop=2 shiftwidth=2: | 301 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |