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") | 5 import("//build/config/nacl/config.gni") |
6 | 6 |
7 source_set("json") { | 7 # Should be static library, see documentation on //base:base for discussion. |
| 8 static_library("json") { |
8 sources = [ | 9 sources = [ |
9 "json_file_value_serializer.cc", | 10 "json_file_value_serializer.cc", |
10 "json_file_value_serializer.h", | 11 "json_file_value_serializer.h", |
11 "json_parser.cc", | 12 "json_parser.cc", |
12 "json_parser.h", | 13 "json_parser.h", |
13 "json_reader.cc", | 14 "json_reader.cc", |
14 "json_reader.h", | 15 "json_reader.h", |
15 "json_string_value_serializer.cc", | 16 "json_string_value_serializer.cc", |
16 "json_string_value_serializer.h", | 17 "json_string_value_serializer.h", |
17 "json_value_converter.cc", | 18 "json_value_converter.cc", |
(...skipping 12 matching lines...) Expand all Loading... |
30 } | 31 } |
31 | 32 |
32 configs += [ "//base:base_implementation" ] | 33 configs += [ "//base:base_implementation" ] |
33 | 34 |
34 deps = [ | 35 deps = [ |
35 "//base/memory", | 36 "//base/memory", |
36 ] | 37 ] |
37 | 38 |
38 visibility = [ "//base/*" ] | 39 visibility = [ "//base/*" ] |
39 } | 40 } |
OLD | NEW |