OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 source_set("json") { | 5 source_set("json") { |
6 sources = [ | 6 sources = [ |
7 "json_file_value_serializer.cc", | 7 "json_file_value_serializer.cc", |
8 "json_file_value_serializer.h", | 8 "json_file_value_serializer.h", |
9 "json_parser.cc", | 9 "json_parser.cc", |
10 "json_parser.h", | 10 "json_parser.h", |
11 "json_reader.cc", | 11 "json_reader.cc", |
12 "json_reader.h", | 12 "json_reader.h", |
13 "json_string_value_serializer.cc", | 13 "json_string_value_serializer.cc", |
14 "json_string_value_serializer.h", | 14 "json_string_value_serializer.h", |
15 "json_value_converter.cc", | 15 "json_value_converter.cc", |
16 "json_value_converter.h", | 16 "json_value_converter.h", |
17 "json_writer.cc", | 17 "json_writer.cc", |
18 "json_writer.h", | 18 "json_writer.h", |
19 "string_escape.cc", | 19 "string_escape.cc", |
20 "string_escape.h", | 20 "string_escape.h", |
21 ] | 21 ] |
22 | 22 |
23 if (is_nacl) { | 23 if (is_nacl) { |
24 sources -= [ | 24 sources -= [ |
25 "json_file_value_serializer.cc", | 25 "json_file_value_serializer.cc", |
26 "json_file_value_serializer.h", | 26 "json_file_value_serializer.h", |
27 ] | 27 ] |
28 } | 28 } |
29 | 29 |
30 defines = [ "BASE_IMPLEMENTATION" ] | 30 configs += [ "//base:base_implementation" ] |
31 | 31 |
32 deps = [ | 32 deps = [ |
33 "//base/memory", | 33 "//base/memory", |
34 ] | 34 ] |
35 | 35 |
36 visibility = [ "//base/*" ] | 36 visibility = [ "//base/*" ] |
37 } | 37 } |
OLD | NEW |