toxcore/other/fun/BUILD.bazel

102 lines
1.9 KiB
Python
Raw Normal View History

load("@rules_cc//cc:defs.bzl", "cc_binary")
package(features = ["layering_check"])
#cc_binary(
# name = "cracker",
# testonly = 1,
# srcs = ["cracker.c"],
# copts = ["-fopenmp"],
# linkopts = ["-fopenmp"],
# deps = [
# "//c-toxcore/toxcore:ccompat",
# "@libsodium",
# ],
#)
2021-12-17 04:35:30 +08:00
cc_binary(
name = "cracker_simple",
testonly = 1,
2021-12-17 04:35:30 +08:00
srcs = ["cracker_simple.c"],
deps = [
"//c-toxcore/testing:misc_tools",
"//c-toxcore/toxcore:ccompat",
"@libsodium",
],
)
2020-03-24 08:28:19 +08:00
cc_binary(
name = "create_minimal_savedata",
testonly = 1,
2022-01-28 07:38:58 +08:00
srcs = [
"create_common.h",
"create_minimal_savedata.c",
],
deps = [
"//c-toxcore/toxcore:ccompat",
"@libsodium",
],
)
cc_binary(
name = "create_savedata",
testonly = 1,
2022-01-28 07:38:58 +08:00
srcs = [
"create_common.h",
"create_savedata.c",
],
deps = [
"//c-toxcore/toxcore",
"//c-toxcore/toxcore:ccompat",
"@libsodium",
],
)
cc_binary(
name = "create_bootstrap_keys",
testonly = 1,
2022-01-28 07:38:58 +08:00
srcs = [
"create_bootstrap_keys.c",
"create_common.h",
],
2020-03-24 08:28:19 +08:00
deps = [
"//c-toxcore/toxcore:ccompat",
2020-03-24 08:28:19 +08:00
"@libsodium",
],
)
cc_binary(
name = "sign",
testonly = 1,
srcs = ["sign.c"],
copts = ["-w"],
deps = [
"//c-toxcore/testing:misc_tools",
"//c-toxcore/toxcore:ccompat",
"@libsodium",
],
)
cc_binary(
name = "strkey",
testonly = 1,
srcs = ["strkey.c"],
copts = ["-w"],
deps = [
"//c-toxcore/toxcore",
"//c-toxcore/toxcore:ccompat",
"@libsodium",
],
)
cc_binary(
name = "save-generator",
testonly = 1,
srcs = ["save-generator.c"],
deps = [
"//c-toxcore/testing:misc_tools",
"//c-toxcore/toxcore",
"//c-toxcore/toxcore:ccompat",
],
)