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

Side by Side Diff: third_party/jsoncpp/jsoncpp.gyp

Issue 11737009: Linux: add an option to use system jsoncpp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | 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
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 'targets': [ 6 'variables': {
7 { 7 'use_system_jsoncpp%': 0,
8 'target_name': 'jsoncpp', 8 },
9 'type': 'static_library', 9 'conditions': [
10 'defines': [ 10 ['use_system_jsoncpp==0', {
11 'JSON_USE_EXCEPTION=0', 11 'targets': [
12 {
13 'target_name': 'jsoncpp',
14 'type': 'static_library',
15 'defines': [
16 'JSON_USE_EXCEPTION=0',
17 ],
18 'sources': [
19 'source/include/json/assertions.h',
20 'source/include/json/autolink.h',
21 'source/include/json/config.h',
22 'source/include/json/features.h',
23 'source/include/json/forwards.h',
24 'source/include/json/json.h',
25 'source/include/json/reader.h',
26 'overrides/include/json/value.h',
27 'source/include/json/writer.h',
28 'source/src/lib_json/json_batchallocator.h',
29 'source/src/lib_json/json_reader.cpp',
30 'source/src/lib_json/json_tool.h',
31 'overrides/src/lib_json/json_value.cpp',
32 'source/src/lib_json/json_writer.cpp',
33 ],
34 'include_dirs': [
35 'overrides/include/',
36 'source/include/',
37 'source/src/lib_json/',
38 ],
39 'direct_dependent_settings': {
40 'include_dirs': [
41 'overrides/include/',
42 'source/include/',
43 ],
44 },
45 },
12 ], 46 ],
13 'sources': [ 47 }, { # use_system_jsoncpp==1
14 'source/include/json/assertions.h', 48 'targets': [
15 'source/include/json/autolink.h', 49 {
16 'source/include/json/config.h', 50 'target_name': 'jsoncpp',
17 'source/include/json/features.h', 51 'type': 'none',
18 'source/include/json/forwards.h', 52 'variables': {
19 'source/include/json/json.h', 53 'headers_root_path': 'source/include',
20 'source/include/json/reader.h', 54 'header_filenames': [
21 'overrides/include/json/value.h', 55 'json/assertions.h',
22 'source/include/json/writer.h', 56 'json/autolink.h',
23 'source/src/lib_json/json_batchallocator.h', 57 'json/config.h',
24 'source/src/lib_json/json_reader.cpp', 58 'json/features.h',
25 'source/src/lib_json/json_tool.h', 59 'json/forwards.h',
26 'overrides/src/lib_json/json_value.cpp', 60 'json/json.h',
27 'source/src/lib_json/json_writer.cpp', 61 'json/reader.h',
62 'json/value.h',
63 'json/writer.h',
64 ],
65 },
66 'includes': [
67 '../../build/shim_headers.gypi',
68 ],
69 'link_settings': {
70 'libraries': [
71 '-ljsoncpp',
72 ],
73 },
74 }
28 ], 75 ],
29 'include_dirs': [ 76 }],
30 'overrides/include/',
31 'source/include/',
32 'source/src/lib_json/',
33 ],
34 'direct_dependent_settings': {
35 'include_dirs': [
36 'overrides/include/',
37 'source/include/',
38 ],
39 },
40 },
41 ], 77 ],
42 } 78 }
43 79
44 # Local Variables: 80 # Local Variables:
45 # tab-width:2 81 # tab-width:2
46 # indent-tabs-mode:nil 82 # indent-tabs-mode:nil
47 # End: 83 # End:
48 # vim: set expandtab tabstop=2 shiftwidth=2: 84 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698