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 import("//build/config/nacl/config.gni") |
| 6 |
5 source_set("json") { | 7 source_set("json") { |
6 sources = [ | 8 sources = [ |
7 "json_file_value_serializer.cc", | 9 "json_file_value_serializer.cc", |
8 "json_file_value_serializer.h", | 10 "json_file_value_serializer.h", |
9 "json_parser.cc", | 11 "json_parser.cc", |
10 "json_parser.h", | 12 "json_parser.h", |
11 "json_reader.cc", | 13 "json_reader.cc", |
12 "json_reader.h", | 14 "json_reader.h", |
13 "json_string_value_serializer.cc", | 15 "json_string_value_serializer.cc", |
14 "json_string_value_serializer.h", | 16 "json_string_value_serializer.h", |
15 "json_value_converter.cc", | 17 "json_value_converter.cc", |
16 "json_value_converter.h", | 18 "json_value_converter.h", |
17 "json_writer.cc", | 19 "json_writer.cc", |
18 "json_writer.h", | 20 "json_writer.h", |
19 "string_escape.cc", | 21 "string_escape.cc", |
20 "string_escape.h", | 22 "string_escape.h", |
21 ] | 23 ] |
22 | 24 |
23 if (is_nacl) { | 25 if (is_nacl && !is_nacl_nonsfi) { |
24 sources -= [ | 26 sources -= [ |
25 "json_file_value_serializer.cc", | 27 "json_file_value_serializer.cc", |
26 "json_file_value_serializer.h", | 28 "json_file_value_serializer.h", |
27 ] | 29 ] |
28 } | 30 } |
29 | 31 |
30 configs += [ "//base:base_implementation" ] | 32 configs += [ "//base:base_implementation" ] |
31 | 33 |
32 deps = [ | 34 deps = [ |
33 "//base/memory", | 35 "//base/memory", |
34 ] | 36 ] |
35 | 37 |
36 visibility = [ "//base/*" ] | 38 visibility = [ "//base/*" ] |
37 } | 39 } |
OLD | NEW |