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") | |
Dirk Pranke
2015/12/04 00:22:41
why is this import needed?
Petr Hosek
2015/12/04 05:57:46
This is needed for is_nacl and is_nacl_nonsfi.
| |
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) { | |
24 sources -= [ | |
25 "json_file_value_serializer.cc", | |
26 "json_file_value_serializer.h", | |
27 ] | |
28 } | |
29 | |
30 configs += [ "//base:base_implementation" ] | 25 configs += [ "//base:base_implementation" ] |
31 | 26 |
32 deps = [ | 27 deps = [ |
33 "//base/memory", | 28 "//base/memory", |
34 ] | 29 ] |
35 | 30 |
36 visibility = [ "//base/*" ] | 31 visibility = [ "//base/*" ] |
37 } | 32 } |
OLD | NEW |