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 static_library("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_crl.cc", | 9 "cast_crl.cc", |
10 "cast_crl.h", | 10 "cast_crl.h", |
11 "cast_root_ca_cert_der-inc.h", | 11 "cast_root_ca_cert_der-inc.h", |
12 "eureka_root_ca_der-inc.h", | 12 "eureka_root_ca_der-inc.h", |
13 ] | 13 ] |
14 deps = [ | 14 deps = [ |
15 "//base", | 15 "//base", |
16 "//components/cast_certificate/proto", | 16 "//components/cast_certificate/proto", |
17 "//net", | 17 "//net", |
18 ] | 18 ] |
19 } | 19 } |
20 | 20 |
21 static_library("test_support") { | 21 static_library("test_support") { |
22 testonly = true | 22 testonly = true |
23 sources = [ | 23 sources = [ |
24 "cast_cert_validator_test_helpers.cc", | 24 "cast_cert_validator_test_helpers.cc", |
25 "cast_cert_validator_test_helpers.h", | 25 "cast_cert_validator_test_helpers.h", |
26 ] | 26 ] |
27 deps = [ | 27 deps = [ |
28 ":cast_certificate", | 28 ":cast_certificate", |
29 "//base", | 29 "//base", |
| 30 "//components/cast_certificate/proto:unittest_proto", |
30 "//net", | 31 "//net", |
31 "//testing/gtest", | 32 "//testing/gtest", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 source_set("unit_tests") { | 36 source_set("unit_tests") { |
36 testonly = true | 37 testonly = true |
37 sources = [ | 38 sources = [ |
38 "cast_cert_validator_unittest.cc", | 39 "cast_cert_validator_unittest.cc", |
39 "cast_crl_unittest.cc", | 40 "cast_crl_unittest.cc", |
40 ] | 41 ] |
41 deps = [ | 42 deps = [ |
42 ":cast_certificate", | 43 ":cast_certificate", |
43 ":test_support", | 44 ":test_support", |
44 "//base", | 45 "//base", |
45 "//components/cast_certificate/proto:unittest_proto", | 46 "//components/cast_certificate/proto:unittest_proto", |
46 "//net", | 47 "//net", |
47 "//testing/gtest", | 48 "//testing/gtest", |
48 ] | 49 ] |
49 } | 50 } |
OLD | NEW |