OLD | NEW |
---|---|
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # GYP version: components/safe_json.gypi:safe_json | 5 # GYP version: components/safe_json.gypi:safe_json |
6 static_library("safe_json") { | 6 static_library("safe_json") { |
brettw
2015/07/07 22:17:21
This static library should be a source set. Static
| |
7 sources = [ | 7 sources = [ |
8 "safe_json_parser.cc", | 8 "safe_json_parser.cc", |
9 "safe_json_parser.h", | 9 "safe_json_parser.h", |
10 "safe_json_parser_impl.cc", | |
11 "safe_json_parser_impl.h", | |
10 ] | 12 ] |
11 | 13 |
12 defines = [ "SAFE_JSON_IMPLEMENTATION" ] | 14 defines = [ "SAFE_JSON_IMPLEMENTATION" ] |
brettw
2015/07/07 22:17:21
This does nothing and should be removed. GYP also.
| |
13 | 15 |
14 deps = [ | 16 deps = [ |
15 ":safe_json_parser_message_filter", | 17 ":safe_json_parser_message_filter", |
16 "//base", | 18 "//base", |
17 "//components/strings", | 19 "//components/strings", |
18 "//content/public/browser", | 20 "//content/public/browser", |
19 "//ui/base", | 21 "//ui/base", |
20 ] | 22 ] |
21 } | 23 } |
22 | 24 |
25 # GYP version: components/safe_json.gypi:safe_json_test_support | |
26 source_set("test_support") { | |
27 testonly = true | |
28 sources = [ | |
29 "testing_json_parser.cc", | |
30 "testing_json_parser.h", | |
31 ] | |
32 | |
33 deps = [ | |
34 ":safe_json", | |
35 "//base", | |
36 ] | |
37 } | |
38 | |
39 # GYP version: components/safe_json.gypi:safe_json_parser_message_filter | |
23 static_library("safe_json_parser_message_filter") { | 40 static_library("safe_json_parser_message_filter") { |
brettw
2015/07/07 22:17:21
source_set
| |
24 sources = [ | 41 sources = [ |
25 "safe_json_parser_message_filter.cc", | 42 "safe_json_parser_message_filter.cc", |
26 "safe_json_parser_message_filter.h", | 43 "safe_json_parser_message_filter.h", |
27 "safe_json_parser_messages.cc", | 44 "safe_json_parser_messages.cc", |
28 "safe_json_parser_messages.h", | 45 "safe_json_parser_messages.h", |
29 ] | 46 ] |
30 | 47 |
31 deps = [ | 48 deps = [ |
32 "//base", | 49 "//base", |
33 "//content/public/browser", | 50 "//content/public/browser", |
34 "//ipc", | 51 "//ipc", |
35 ] | 52 ] |
36 } | 53 } |
OLD | NEW |