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

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

Issue 2143253002: Convert test_support source sets to static libs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android 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/captive_portal/BUILD.gn ('k') | components/component_updater/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 source_set("cast_certificate") { 5 static_library("cast_certificate") {
6 sources = [ 6 sources = [
7 "cast_cert_validator.cc", 7 "cast_cert_validator.cc",
8 "cast_cert_validator.h", 8 "cast_cert_validator.h",
9 "cast_root_ca_cert_der-inc.h", 9 "cast_root_ca_cert_der-inc.h",
10 "eureka_root_ca_der-inc.h", 10 "eureka_root_ca_der-inc.h",
11 ] 11 ]
12 deps = [ 12 deps = [
13 "//base", 13 "//base",
14 "//net", 14 "//net",
15 ] 15 ]
16 } 16 }
17 17
18 source_set("test_support") { 18 static_library("test_support") {
19 testonly = true 19 testonly = true
20 sources = [ 20 sources = [
21 "cast_cert_validator_test_helpers.cc", 21 "cast_cert_validator_test_helpers.cc",
22 "cast_cert_validator_test_helpers.h", 22 "cast_cert_validator_test_helpers.h",
23 ] 23 ]
24 deps = [ 24 deps = [
25 ":cast_certificate", 25 ":cast_certificate",
26 "//base", 26 "//base",
27 "//net", 27 "//net",
28 "//testing/gtest", 28 "//testing/gtest",
29 ] 29 ]
30 } 30 }
31 31
32 source_set("unit_tests") { 32 source_set("unit_tests") {
33 testonly = true 33 testonly = true
34 sources = [ 34 sources = [
35 "cast_cert_validator_unittest.cc", 35 "cast_cert_validator_unittest.cc",
36 ] 36 ]
37 deps = [ 37 deps = [
38 ":cast_certificate", 38 ":cast_certificate",
39 ":test_support", 39 ":test_support",
40 "//base", 40 "//base",
41 "//net", 41 "//net",
42 "//testing/gtest", 42 "//testing/gtest",
43 ] 43 ]
44 } 44 }
OLDNEW
« no previous file with comments | « components/captive_portal/BUILD.gn ('k') | components/component_updater/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698