OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'conditions': [ | |
7 ['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
| |
8 'targets': [ | |
9 { | |
10 'target_name': 'nspr', | |
11 'type': 'none', | |
12 'toolsets': ['host', 'target'], | |
13 'variables': { | |
14 'headers_root_path': '.', | |
15 '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
| |
16 'prtime.h', | |
17 'prtypes.h', | |
18 ], | |
19 }, | |
20 'includes': [ | |
21 '../../../build/shim_headers.gypi', | |
22 ], | |
23 'direct_dependent_settings': { | |
24 'cflags': [ | |
25 '<!@(pkg-config --cflags nspr)', | |
26 ], | |
27 }, | |
28 'link_settings': { | |
29 'ldflags': [ | |
30 '<!@(pkg-config --libs-only-L --libs-only-other nspr)', | |
31 ], | |
32 'libraries': [ | |
33 '<!@(pkg-config --libs-only-l nspr)', | |
34 ], | |
35 }, | |
36 } | |
37 ], | |
38 }], | |
39 ], | |
40 } | |
OLD | NEW |