File
Blob: build/BUILD.wpt
| 1 | # Copyright (c) 2017-2022 Cloudflare, Inc. |
| 2 | # Licensed under the Apache 2.0 license found in the LICENSE file or at: |
| 3 | # https://opensource.org/licenses/Apache-2.0 |
| 4 | |
| 5 | load("@workerd//:build/wpt_get_directories.bzl", "wpt_all_dirs") |
| 6 | load("@workerd//:build/wpt_test.bzl", "wpt_module", "wpt_server_entrypoint") |
| 7 | |
| 8 | [wpt_module( |
| 9 | name = dir, |
| 10 | ) for dir in wpt_all_dirs()] |
| 11 | |
| 12 | wpt_server_entrypoint( |
| 13 | name = "entrypoint", |
| 14 | srcs = ["wpt"] + glob(["**/*.py"]), |
| 15 | python = "@@rules_python++python+python_3_13//:python3", |
| 16 | visibility = ["//visibility:public"], |
| 17 | ) |
| 18 | |
| 19 | exports_files([ |
| 20 | "tools/certs/cacert.pem", |
| 21 | ]) |