Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: components/safe_json/BUILD.gn

Issue 1214903010: Make JSONParser a pure interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: review Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/safe_json.gypi ('k') | components/safe_json/safe_json_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « components/safe_json.gypi ('k') | components/safe_json/safe_json_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698