Mercurial
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/third_party/ffmpeg/BUILD Mon Aug 03 13:14:41 2026 -0700 @@ -0,0 +1,20 @@ +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", +)