Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: base/third_party/nspr/nspr.gyp

Issue 11685002: Linux: add option to use system nspr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/base_untrusted.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « base/base_untrusted.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698