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", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 13 | "signed_web_bundles/web_bundle_signer.cc", |
| 14 | "signed_web_bundles/web_bundle_signer.h", |
| 15 | ] |
| 16 | |
| 17 | deps = [ |
| 18 | "//base", |
Christian Flach | 311241a | 2022-07-15 18:21:27 | [diff] [blame] | 19 | "//base/test:test_support", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 20 | "//components/cbor", |
| 21 | "//components/web_package", |
| 22 | "//crypto", |
Christian Flach | 311241a | 2022-07-15 18:21:27 | [diff] [blame] | 23 | "//testing/gtest", |
Christian Flach | 0517895 | 2022-07-08 08:59:37 | [diff] [blame] | 24 | "//third_party/boringssl", |
| 25 | ] |
| 26 | } |
| 27 | |
| 28 | source_set("unit_tests") { |
| 29 | testonly = true |
| 30 | sources = [ "signed_web_bundles/web_bundle_signer_unittest.cc" ] |
| 31 | |
| 32 | deps = [ |
| 33 | ":test_support", |
| 34 | "//base", |
| 35 | "//components/web_package", |
| 36 | "//testing/gtest", |
| 37 | ] |
| 38 | } |