OLD | NEW |
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 } |
OLD | NEW |