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

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

Issue 2151653003: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crypto Created 4 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/proximity_auth/cryptauth/BUILD.gn ('k') | components/scheduler/BUILD.gn » ('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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 # GYP version: components/safe_json.gypi:safe_json 9 # GYP version: components/safe_json.gypi:safe_json
10 source_set("safe_json") { 10 static_library("safe_json") {
11 sources = [ 11 sources = [
12 "android/component_jni_registrar.cc", 12 "android/component_jni_registrar.cc",
13 "android/component_jni_registrar.h", 13 "android/component_jni_registrar.h",
14 "json_sanitizer.cc", 14 "json_sanitizer.cc",
15 "json_sanitizer.h", 15 "json_sanitizer.h",
16 "json_sanitizer_android.cc", 16 "json_sanitizer_android.cc",
17 "safe_json_parser.cc", 17 "safe_json_parser.cc",
18 "safe_json_parser.h", 18 "safe_json_parser.h",
19 "safe_json_parser_android.cc", 19 "safe_json_parser_android.cc",
20 "safe_json_parser_android.h", 20 "safe_json_parser_android.h",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 deps = [ 56 deps = [
57 ":safe_json", 57 ":safe_json",
58 ":test_support", 58 ":test_support",
59 "//base", 59 "//base",
60 "//testing/gtest", 60 "//testing/gtest",
61 ] 61 ]
62 } 62 }
63 63
64 # GYP version: components/safe_json.gypi:safe_json_test_support 64 # GYP version: components/safe_json.gypi:safe_json_test_support
65 source_set("test_support") { 65 static_library("test_support") {
66 testonly = true 66 testonly = true
67 sources = [ 67 sources = [
68 "testing_json_parser.cc", 68 "testing_json_parser.cc",
69 "testing_json_parser.h", 69 "testing_json_parser.h",
70 ] 70 ]
71 71
72 deps = [ 72 deps = [
73 ":safe_json", 73 ":safe_json",
74 "//base", 74 "//base",
75 ] 75 ]
76 } 76 }
OLDNEW
« no previous file with comments | « components/proximity_auth/cryptauth/BUILD.gn ('k') | components/scheduler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698