comparison 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
comparison
equal deleted inserted replaced
241:9c2eec61a152 242:543df0fe7168
1 load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
2 load("@rules_cc//cc:cc_library.bzl", "cc_library")
3 load("@rules_cc//cc:cc_test.bzl", "cc_test")
4
5 cc_library(
6 name = "ffmpeg_cli",
7 srcs = ["ffmpeg_cli.c"],
8 hdrs = ["ffmpeg_cli.h"],
9 visibility = ["//visibility:public"],
10 )
11
12 cc_test(
13 name = "ffmpeg_hls_test",
14 srcs = ["ffmpeg_hls_test.c"],
15 args = ["$(location //mrjunejune:sample_hls_mp4)"],
16 data = ["//mrjunejune:sample_hls_mp4"],
17 deps = [":ffmpeg_cli"],
18 size = "large",
19 timeout = "long",
20 )