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