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

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: 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
« no previous file with comments | « 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.
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 static_library("jsoncpp") {
tfarina 2014/06/11 16:28:41 is there a reason for using static_library? if not
kjellander_chromium 2014/06/11 16:49:56 No reason, just that it was static_library in the
13 configs += [ ":jsoncpp_config" ]
14 direct_dependent_configs = [ ":jsoncpp_config" ]
15
16 defines = [
tfarina 2014/06/11 16:28:41 please, refert to http://code.google.com/p/chromiu
kjellander_chromium 2014/06/11 16:49:56 Sorry about that, I'm new here ;)
17 "JSON_USE_EXCEPTION=0",
18 ]
19
20 include_dirs = [
21 "source/src/lib_json",
22 ]
23
24 sources = [
tfarina 2014/06/11 16:28:41 sources come before everything, move this at the t
kjellander_chromium 2014/06/11 16:49:56 Done.
25 "source/include/json/assertions.h",
26 "source/include/json/autolink.h",
27 "source/include/json/config.h",
28 "source/include/json/features.h",
29 "source/include/json/forwards.h",
30 "source/include/json/json.h",
31 "source/include/json/reader.h",
32 "overrides/include/json/value.h",
tfarina 2014/06/11 16:28:41 could you sort this list.
kjellander_chromium 2014/06/11 16:49:56 Done.
33 "source/include/json/writer.h",
34 "source/src/lib_json/json_batchallocator.h",
35 "overrides/src/lib_json/json_reader.cpp",
36 "source/src/lib_json/json_tool.h",
37 "overrides/src/lib_json/json_value.cpp",
38 "source/src/lib_json/json_writer.cpp",
39 ]
40 }
OLDNEW
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698