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", |
Luke Klimek | a6058be8 | 2024-08-23 10:38:50 | [diff] [blame] | 13 | "signed_web_bundles/ecdsa_p256_key_pair.cc", |
| 14 | "signed_web_bundles/ecdsa_p256_key_pair.h", |
| 15 | "signed_web_bundles/ed25519_key_pair.cc", |
| 16 | "signed_web_bundles/ed25519_key_pair.h", |
Robert Ferens | 325d4a54 | 2025-01-17 10:13:56 | [diff] [blame] | 17 | "signed_web_bundles/key_pair.cc", |
Luke Klimek | a6058be8 | 2024-08-23 10:38:50 | [diff] [blame] | 18 | "signed_web_bundles/key_pair.h", |
Andrew Rayskiy | 5eca4ef | 2024-07-03 10:34:00 | [diff] [blame] | 19 | "signed_web_bundles/signature_verifier_test_utils.cc", |
| 20 | "signed_web_bundles/signature_verifier_test_utils.h", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 21 | "signed_web_bundles/web_bundle_signer.cc", |
| 22 | "signed_web_bundles/web_bundle_signer.h", |
| 23 | ] |
| 24 | |
| 25 | deps = [ |
| 26 | "//base", |
Christian Flach | 311241a | 2022-07-15 18:21:27 | [diff] [blame] | 27 | "//base/test:test_support", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 28 | "//components/cbor", |
| 29 | "//components/web_package", |
| 30 | "//crypto", |
Christian Flach | 311241a | 2022-07-15 18:21:27 | [diff] [blame] | 31 | "//testing/gtest", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 32 | "//third_party/boringssl", |
| 33 | ] |
| 34 | } |
| 35 | |
| 36 | source_set("unit_tests") { |
| 37 | testonly = true |
| 38 | sources = [ "signed_web_bundles/web_bundle_signer_unittest.cc" ] |
| 39 | |
| 40 | deps = [ |
| 41 | ":test_support", |
| 42 | "//base", |
| 43 | "//components/web_package", |
| 44 | "//testing/gtest", |
| 45 | ] |
| 46 | } |