Chromium Code Reviews| 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 'variables': { | |
| 7 'use_system_nspr%': 0, | |
| 8 }, | |
| 9 'conditions': [ | |
| 10 ['use_system_nspr==0', { | |
| 11 'targets': [ | |
| 12 { | |
| 13 'target_name': 'nspr', | |
| 14 'type': 'static_library', | |
| 15 'toolsets': ['host', 'target'], | |
| 16 'include_dirs': [ | |
| 17 '../../..', | |
| 18 ], | |
| 19 'sources': [ | |
| 20 'prtime.cc', | |
|
Ryan Sleevi
2012/12/27 18:41:26
You also dropped prtime.h and prcpucfg from the 's
| |
| 21 ], | |
| 22 }, | |
| 23 ], | |
| 24 }, { # use_system_nspr != 0 | |
| 25 'targets': [ | |
| 26 { | |
| 27 'target_name': 'nspr', | |
| 28 'type': 'none', | |
| 29 'toolsets': ['host', 'target'], | |
| 30 'variables': { | |
| 31 'headers_root_path': '.', | |
| 32 'header_filenames': [ | |
| 33 'prtime.h', | |
| 34 'prtypes.h', | |
| 35 ], | |
| 36 }, | |
| 37 'includes': [ | |
| 38 '../../../build/shim_headers.gypi', | |
| 39 ], | |
| 40 'direct_dependent_settings': { | |
| 41 'cflags': [ | |
| 42 '<!@(pkg-config --cflags nspr)', | |
| 43 ], | |
| 44 }, | |
| 45 'link_settings': { | |
| 46 'ldflags': [ | |
| 47 '<!@(pkg-config --libs-only-L --libs-only-other nspr)', | |
| 48 ], | |
| 49 'libraries': [ | |
| 50 '<!@(pkg-config --libs-only-l nspr)', | |
| 51 ], | |
| 52 }, | |
| 53 } | |
| 54 ], | |
| 55 }], | |
| 56 ], | |
| 57 } | |
| OLD | NEW |