2020-03-12 13:23:57 +01:00
|
|
|
load("@rules_cc//cc:defs.bzl", "cc_binary")
|
2018-08-18 01:48:35 +02:00
|
|
|
load("//tools/project:build_defs.bzl", "project")
|
|
|
|
|
|
|
|
project()
|
|
|
|
|
2018-01-20 20:04:27 +01:00
|
|
|
cc_binary(
|
|
|
|
name = "toxic",
|
|
|
|
srcs = glob([
|
|
|
|
"src/*.c",
|
|
|
|
"src/*.h",
|
|
|
|
]),
|
|
|
|
copts = [
|
|
|
|
"-DAUDIO",
|
|
|
|
"-DPACKAGE_DATADIR='\"data\"'",
|
|
|
|
"-DPYTHON",
|
2018-09-08 19:23:07 +02:00
|
|
|
"-DQRCODE",
|
2018-01-20 20:04:27 +01:00
|
|
|
"-DVIDEO",
|
2018-09-06 15:45:56 +02:00
|
|
|
"-Wno-error=unused-result",
|
2018-01-20 20:04:27 +01:00
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
"//c-toxcore",
|
|
|
|
"@curl",
|
2018-07-15 17:33:35 +02:00
|
|
|
"@libconfig",
|
2018-01-20 20:04:27 +01:00
|
|
|
"@libqrencode",
|
|
|
|
"@libvpx",
|
2018-08-05 21:17:57 +02:00
|
|
|
"@ncurses",
|
|
|
|
"@openal",
|
2018-01-20 20:04:27 +01:00
|
|
|
"@python3//:python",
|
2018-08-14 11:55:54 +02:00
|
|
|
"@x11",
|
2018-01-20 20:04:27 +01:00
|
|
|
],
|
|
|
|
)
|