Avi Drissman | 8ba1bad | 2022-09-13 19:22:36 | [diff] [blame] | 1 | # Copyright 2022 The Chromium Authors |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | static_library("test_support") { |
| 6 | testonly = true |
| 7 | |
| 8 | sources = [ |
Christian Flach | 311241a | 2022-07-15 18:21:27 | [diff] [blame] | 9 | "mock_web_bundle_parser.cc", |
| 10 | "mock_web_bundle_parser.h", |
| 11 | "mock_web_bundle_parser_factory.cc", |
| 12 | "mock_web_bundle_parser_factory.h", |
Andrew Rayskiy | 5eca4ef | 2024-07-03 10:34:00 | [diff] [blame] | 13 | "signed_web_bundles/signature_verifier_test_utils.cc", |
| 14 | "signed_web_bundles/signature_verifier_test_utils.h", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 15 | "signed_web_bundles/web_bundle_signer.cc", |
| 16 | "signed_web_bundles/web_bundle_signer.h", |
| 17 | ] |
| 18 | |
| 19 | deps = [ |
| 20 | "//base", |
Christian Flach | 311241a | 2022-07-15 18:21:27 | [diff] [blame] | 21 | "//base/test:test_support", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 22 | "//components/cbor", |
| 23 | "//components/web_package", |
| 24 | "//crypto", |
Christian Flach | 311241a | 2022-07-15 18:21:27 | [diff] [blame] | 25 | "//testing/gtest", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 26 | "//third_party/boringssl", |
| 27 | ] |
| 28 | } |
| 29 | |
| 30 | source_set("unit_tests") { |
| 31 | testonly = true |
| 32 | sources = [ "signed_web_bundles/web_bundle_signer_unittest.cc" ] |
| 33 | |
| 34 | deps = [ |
| 35 | ":test_support", |
| 36 | "//base", |
| 37 | "//components/web_package", |
| 38 | "//testing/gtest", |
| 39 | ] |
| 40 | } |