Chromium Code Reviews| Index: base/third_party/nspr/nspr.gyp |
| diff --git a/base/third_party/nspr/nspr.gyp b/base/third_party/nspr/nspr.gyp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9e8b2cdc8c7002692dc0d2c7837c0719514a5fad |
| --- /dev/null |
| +++ b/base/third_party/nspr/nspr.gyp |
| @@ -0,0 +1,40 @@ |
| +# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +{ |
| + 'conditions': [ |
| + ['use_system_nspr==1', { |
|
wtc
2013/01/04 16:55:28
In base/base.gyp, you added a dependency on this .
Paweł Hajdan Jr.
2013/01/04 18:01:31
Actually, it's not! :)
Without this condition, gy
|
| + 'targets': [ |
| + { |
| + 'target_name': 'nspr', |
| + 'type': 'none', |
| + 'toolsets': ['host', 'target'], |
| + 'variables': { |
| + 'headers_root_path': '.', |
| + 'header_filenames': [ |
|
Ryan Sleevi
2013/01/03 18:51:35
And why not prcpucfg.h?
wtc
2013/01/04 16:55:28
I don't understand how this works. Could you expla
Paweł Hajdan Jr.
2013/01/04 18:01:31
Thanks, added.
Paweł Hajdan Jr.
2013/01/04 18:01:31
Good question. See https://code.google.com/p/chrom
wtc
2013/01/05 16:23:35
Thank you for the explanation. This explains why t
|
| + 'prtime.h', |
| + 'prtypes.h', |
| + ], |
| + }, |
| + 'includes': [ |
| + '../../../build/shim_headers.gypi', |
| + ], |
| + 'direct_dependent_settings': { |
| + 'cflags': [ |
| + '<!@(pkg-config --cflags nspr)', |
| + ], |
| + }, |
| + 'link_settings': { |
| + 'ldflags': [ |
| + '<!@(pkg-config --libs-only-L --libs-only-other nspr)', |
| + ], |
| + 'libraries': [ |
| + '<!@(pkg-config --libs-only-l nspr)', |
| + ], |
| + }, |
| + } |
| + ], |
| + }], |
| + ], |
| +} |