| load("//build/cc_static_library_with_headers:def.bzl", "cc_static_library_with_headers") |
| load("//osbase/build/fwprune:def.bzl", "fsspec_linux_firmware") |
| load("//osbase/build/mkucode:def.bzl", "cpio_ucode") |
| |
| package(default_visibility = ["//visibility:public"]) |
| |
| fsspec_linux_firmware( |
| name = "firmware", |
| firmware_files = ["@linux-firmware//:all_files"], |
| kernel = "//third_party/linux", |
| metadata = "@linux-firmware//:metadata", |
| ) |
| |
| cpio_ucode( |
| name = "ucode", |
| ucode = { |
| "@linux-firmware//:amd_ucode": "AuthenticAMD", |
| "@intel_ucode//:fam6h": "GenuineIntel", |
| }, |
| ) |
| |
| cc_static_library_with_headers( |
| name = "libelf_elf", |
| dep = "@libelf//:elf", |
| ) |
| |
| cc_static_library_with_headers( |
| name = "zstd_zstd", |
| dep = "@zstd", |
| ) |
| |
| cc_static_library_with_headers( |
| name = "zlib_z", |
| dep = "@zlib//:z", |
| ) |
| |
| cc_static_library_with_headers( |
| name = "openssl_ssl", |
| dep = "@openssl//:ssl", |
| ) |
| |
| cc_static_library_with_headers( |
| name = "openssl_crypto", |
| dep = "@openssl//:crypto", |
| ) |