OLD | NEW |
---|---|
(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 } | |
OLD | NEW |