OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 config("jsoncpp_config") { | 5 config("jsoncpp_config") { |
6 include_dirs = [ | 6 include_dirs = [ |
7 "overrides/include", | 7 "overrides/include", |
8 "source/include", | 8 "source/include", |
9 ] | 9 ] |
10 } | 10 } |
11 | 11 |
12 source_set("jsoncpp") { | 12 source_set("jsoncpp") { |
13 sources = [ | 13 sources = [ |
14 "overrides/include/json/value.h", | 14 "overrides/include/json/value.h", |
15 "overrides/src/lib_json/json_reader.cpp", | 15 "overrides/src/lib_json/json_reader.cpp", |
16 "overrides/src/lib_json/json_value.cpp", | 16 "overrides/src/lib_json/json_value.cpp", |
17 "source/include/json/assertions.h", | 17 "source/include/json/assertions.h", |
18 "source/include/json/autolink.h", | 18 "source/include/json/autolink.h", |
19 "source/include/json/config.h", | 19 "source/include/json/config.h", |
20 "source/include/json/features.h", | 20 "source/include/json/features.h", |
21 "source/include/json/forwards.h", | 21 "source/include/json/forwards.h", |
22 "source/include/json/json.h", | 22 "source/include/json/json.h", |
23 "source/include/json/reader.h", | 23 "source/include/json/reader.h", |
24 "source/include/json/writer.h", | 24 "source/include/json/writer.h", |
25 "source/src/lib_json/json_batchallocator.h", | 25 "source/src/lib_json/json_batchallocator.h", |
26 "source/src/lib_json/json_tool.h", | 26 "source/src/lib_json/json_tool.h", |
27 "source/src/lib_json/json_writer.cpp", | 27 "source/src/lib_json/json_writer.cpp", |
28 ] | 28 ] |
29 | 29 |
30 direct_dependent_configs = [ ":jsoncpp_config" ] | 30 public_configs = [ ":jsoncpp_config" ] |
31 | 31 |
32 defines = [ | 32 defines = [ |
33 "JSON_USE_EXCEPTION=0", | 33 "JSON_USE_EXCEPTION=0", |
34 ] | 34 ] |
35 | 35 |
36 include_dirs = [ | 36 include_dirs = [ |
37 "source/src/lib_json", | 37 "source/src/lib_json", |
38 ] | 38 ] |
39 } | 39 } |
OLD | NEW |