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

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: nullptr 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
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") {
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 ] 10 ]
11 11
12 defines = [ "SAFE_JSON_IMPLEMENTATION" ] 12 defines = [ "SAFE_JSON_IMPLEMENTATION" ]
13 13
14 deps = [ 14 deps = [
15 ":safe_json_parser_message_filter", 15 ":safe_json_parser_message_filter",
16 "//base", 16 "//base",
17 "//components/strings", 17 "//components/strings",
18 "//content/public/browser", 18 "//content/public/browser",
19 "//ui/base", 19 "//ui/base",
20 ] 20 ]
21 } 21 }
22 22
23 # GYP version: components/safe_json.gypi:safe_json_test_support
24 source_set("test_support") {
25 testonly = true
26 sources = [
27 "testing_json_parser.cc",
28 "testing_json_parser.h",
29 ]
30
31 deps = [
32 ":safe_json",
33 "//base",
34 ]
35 }
36
37 # GYP version: components/safe_json.gypi:safe_json_parser_message_filter
23 static_library("safe_json_parser_message_filter") { 38 static_library("safe_json_parser_message_filter") {
24 sources = [ 39 sources = [
25 "safe_json_parser_message_filter.cc", 40 "safe_json_parser_message_filter.cc",
26 "safe_json_parser_message_filter.h", 41 "safe_json_parser_message_filter.h",
27 "safe_json_parser_messages.cc", 42 "safe_json_parser_messages.cc",
28 "safe_json_parser_messages.h", 43 "safe_json_parser_messages.h",
29 ] 44 ]
30 45
31 deps = [ 46 deps = [
32 "//base", 47 "//base",
33 "//content/public/browser", 48 "//content/public/browser",
34 "//ipc", 49 "//ipc",
35 ] 50 ]
36 } 51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698