view third_party/ffmpeg/BUILD @ 242:543df0fe7168

[tools] Add full HLS player support
author MrJuneJune <me@mrjunejune.com>
date Mon, 03 Aug 2026 13:14:41 -0700
parents
children
line wrap: on
line source

load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("@rules_cc//cc:cc_test.bzl", "cc_test")

cc_library(
    name = "ffmpeg_cli",
    srcs = ["ffmpeg_cli.c"],
    hdrs = ["ffmpeg_cli.h"],
    visibility = ["//visibility:public"],
)

cc_test(
    name = "ffmpeg_hls_test",
    srcs = ["ffmpeg_hls_test.c"],
    args = ["$(location //mrjunejune:sample_hls_mp4)"],
    data = ["//mrjunejune:sample_hls_mp4"],
    deps = [":ffmpeg_cli"],
    size = "large",
    timeout = "long",
)