Some checks failed
ContinuousDelivery / linux-ubuntu (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android-23]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android-23]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android-23]) (push) Has been cancelled
ContinuousDelivery / windows (windows-2022, ) (push) Has been cancelled
ContinuousDelivery / windows (windows-2022, asan) (push) Has been cancelled
ContinuousDelivery / dumpsyms (push) Has been cancelled
ContinuousDelivery / release (push) Has been cancelled
ContinuousIntegration / on ubuntu-24.04-arm (push) Has been cancelled
ContinuousIntegration / asan on ubuntu-24.04-arm (push) Has been cancelled
ContinuousIntegration / on ubuntu-latest (push) Has been cancelled
ContinuousIntegration / asan on ubuntu-latest (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android-23]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android-23]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android-23]) (push) Has been cancelled
ContinuousIntegration / macos (push) Has been cancelled
ContinuousIntegration / windows (push) Has been cancelled
58 lines
1.2 KiB
Python
58 lines
1.2 KiB
Python
load("//tools:no_undefined.bzl", "cc_library")
|
|
|
|
exports_files(
|
|
srcs = ["toxencryptsave.h"],
|
|
visibility = ["//c-toxcore:__pkg__"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "defines",
|
|
hdrs = ["defines.h"],
|
|
visibility = ["//c-toxcore/toxcore:__pkg__"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "toxencryptsave",
|
|
srcs = ["toxencryptsave.c"],
|
|
hdrs = ["toxencryptsave.h"],
|
|
visibility = ["//c-toxcore:__subpackages__"],
|
|
deps = [
|
|
":defines",
|
|
"//c-toxcore/toxcore:ccompat",
|
|
"//c-toxcore/toxcore:crypto_core",
|
|
"//c-toxcore/toxcore:os_memory",
|
|
"//c-toxcore/toxcore:os_random",
|
|
"@libsodium",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "monolith",
|
|
hdrs = glob([
|
|
"*.c",
|
|
"*.h",
|
|
]),
|
|
visibility = ["//c-toxcore/other:__pkg__"],
|
|
deps = [
|
|
"//c-toxcore/toxcore:ccompat",
|
|
"//c-toxcore/toxcore:crypto_core",
|
|
"//c-toxcore/toxcore:os_memory",
|
|
"//c-toxcore/toxcore:os_random",
|
|
"@libsodium",
|
|
],
|
|
)
|
|
|
|
CIMPLE_SRCS = glob(
|
|
[
|
|
"*.c",
|
|
"*.h",
|
|
],
|
|
exclude = ["*.api.h"],
|
|
)
|
|
|
|
sh_library(
|
|
name = "cimple_files",
|
|
srcs = CIMPLE_SRCS,
|
|
visibility = ["//c-toxcore/testing:__pkg__"],
|
|
)
|