2018-01-18 23:14:50 +08:00
|
|
|
filegroup(
|
|
|
|
name = "public",
|
|
|
|
srcs = ["toxav.h"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
cc_library(
|
|
|
|
name = "toxav",
|
|
|
|
srcs = [
|
|
|
|
"audio.c",
|
|
|
|
"bwcontroller.c",
|
|
|
|
"groupav.c",
|
|
|
|
"msi.c",
|
|
|
|
"ring_buffer.c",
|
|
|
|
"rtp.c",
|
|
|
|
"toxav.c",
|
|
|
|
"toxav_old.c",
|
|
|
|
"video.c",
|
|
|
|
],
|
|
|
|
hdrs = [
|
|
|
|
"audio.h",
|
|
|
|
"bwcontroller.h",
|
|
|
|
"groupav.h",
|
|
|
|
"msi.h",
|
|
|
|
"ring_buffer.h",
|
|
|
|
"rtp.h",
|
|
|
|
"toxav.api.h",
|
|
|
|
"toxav.h",
|
|
|
|
"video.h",
|
|
|
|
],
|
2018-01-19 05:51:45 +08:00
|
|
|
copts = [
|
|
|
|
"-std=c99",
|
|
|
|
],
|
2018-01-18 23:14:50 +08:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//c-toxcore/toxcore",
|
|
|
|
"@libvpx",
|
|
|
|
"@opus",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
cc_library(
|
|
|
|
name = "monolith",
|
|
|
|
hdrs = glob([
|
|
|
|
"*.c",
|
|
|
|
"*.h",
|
|
|
|
]),
|
2018-01-21 09:05:23 +08:00
|
|
|
visibility = [
|
|
|
|
"//c-toxcore/other:__pkg__",
|
|
|
|
"//c-toxcore/testing:__pkg__",
|
|
|
|
],
|
2018-01-18 23:14:50 +08:00
|
|
|
)
|