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

Side by Side Diff: tools/gn/secondary/third_party/jsoncpp/BUILD.gn

Issue 322373002: GN: Add BUILD.gn file to third_party/jsoncpp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated according to comments Created 6 years, 6 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
« build/config/linux/BUILD.gn ('K') | « build/config/linux/BUILD.gn ('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 2014 The Chromium Authors. All rights reserved.
brettw 2014/06/11 16:58:35 I think you can put this in the "real" directory i
kjellander_chromium 2014/06/11 19:22:04 Ah, of course. I didn't think about that there was
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 config("jsoncpp_config") {
6 include_dirs = [
7 "overrides/include",
8 "source/include",
9 ]
10 }
11
12 source_set("jsoncpp") {
13 sources = [
14 "overrides/include/json/value.h",
15 "overrides/src/lib_json/json_reader.cpp",
16 "overrides/src/lib_json/json_value.cpp",
17 "source/include/json/assertions.h",
18 "source/include/json/autolink.h",
19 "source/include/json/config.h",
20 "source/include/json/features.h",
21 "source/include/json/forwards.h",
22 "source/include/json/json.h",
23 "source/include/json/reader.h",
24 "source/include/json/writer.h",
25 "source/src/lib_json/json_batchallocator.h",
26 "source/src/lib_json/json_tool.h",
27 "source/src/lib_json/json_writer.cpp",
28 ]
29
30 configs += [ ":jsoncpp_config" ]
brettw 2014/06/11 16:58:35 You can delete this line. Direct dependent configs
kjellander_chromium 2014/06/11 19:22:04 Done.
31 direct_dependent_configs = [ ":jsoncpp_config" ]
32
33 defines = [
34 "JSON_USE_EXCEPTION=0",
35 ]
36
37 include_dirs = [
38 "source/src/lib_json",
39 ]
40 }
OLDNEW
« build/config/linux/BUILD.gn ('K') | « build/config/linux/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698