| # Copyright 2026 The Fuchsia Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| load( | |
| "@fuchsia_rules_common//packages:resources.bzl", | |
| "resource", | |
| ) | |
| package(default_applicable_licenses = ["//:license"]) | |
| # fuchsia_hyper::new_https_client fails if there isn't a file at | |
| # /config/ssl/cert.pem, but the tests don't actually make https connections and | |
| # so don't need any certs, so we can just give them an empty file instead of | |
| # making them a system test and giving them the system certs. | |
| # @bazel2gn:skip | |
| resource( | |
| name = "fake-ssl-certs", | |
| testonly = True, | |
| src = "fake_cert_for_test.pem", | |
| dest = "fake-ssl-certs/cert.pem", | |
| visibility = [ | |
| "//src/lib/http-sse:__pkg__", | |
| "//src/sys/pkg:__subpackages__", | |
| ], | |
| ) |