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

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

Issue 1211423004: Change static library targets in safe_json GN files to source sets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@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') | no next file » | 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 source_set("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 "safe_json_parser_impl.cc", 10 "safe_json_parser_impl.cc",
11 "safe_json_parser_impl.h", 11 "safe_json_parser_impl.h",
12 ] 12 ]
13 13
14 defines = [ "SAFE_JSON_IMPLEMENTATION" ]
15
16 deps = [ 14 deps = [
17 ":safe_json_parser_message_filter", 15 ":safe_json_parser_message_filter",
18 "//base", 16 "//base",
19 "//components/strings", 17 "//components/strings",
20 "//content/public/browser", 18 "//content/public/browser",
21 "//ui/base", 19 "//ui/base",
22 ] 20 ]
23 } 21 }
24 22
25 # GYP version: components/safe_json.gypi:safe_json_test_support 23 # GYP version: components/safe_json.gypi:safe_json_test_support
26 source_set("test_support") { 24 source_set("test_support") {
27 testonly = true 25 testonly = true
28 sources = [ 26 sources = [
29 "testing_json_parser.cc", 27 "testing_json_parser.cc",
30 "testing_json_parser.h", 28 "testing_json_parser.h",
31 ] 29 ]
32 30
33 deps = [ 31 deps = [
34 ":safe_json", 32 ":safe_json",
35 "//base", 33 "//base",
36 ] 34 ]
37 } 35 }
38 36
39 # GYP version: components/safe_json.gypi:safe_json_parser_message_filter 37 # GYP version: components/safe_json.gypi:safe_json_parser_message_filter
40 static_library("safe_json_parser_message_filter") { 38 source_set("safe_json_parser_message_filter") {
41 sources = [ 39 sources = [
42 "safe_json_parser_message_filter.cc", 40 "safe_json_parser_message_filter.cc",
43 "safe_json_parser_message_filter.h", 41 "safe_json_parser_message_filter.h",
44 "safe_json_parser_messages.cc", 42 "safe_json_parser_messages.cc",
45 "safe_json_parser_messages.h", 43 "safe_json_parser_messages.h",
46 ] 44 ]
47 45
48 deps = [ 46 deps = [
49 "//base", 47 "//base",
50 "//content/public/browser", 48 "//content/public/browser",
51 "//ipc", 49 "//ipc",
52 ] 50 ]
53 } 51 }
OLDNEW
« no previous file with comments | « components/safe_json.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698