Merge commit '227425b90e9a671118026689dd30967e127a1090' as 'external/toxcore/c-toxcore'
This commit is contained in:
55
external/toxcore/c-toxcore/toxencryptsave/BUILD.bazel
vendored
Normal file
55
external/toxcore/c-toxcore/toxencryptsave/BUILD.bazel
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
load("//tools:no_undefined.bzl", "cc_library")
|
||||
|
||||
package(features = ["layering_check"])
|
||||
|
||||
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",
|
||||
"@libsodium",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "monolith",
|
||||
hdrs = glob([
|
||||
"*.c",
|
||||
"*.h",
|
||||
]),
|
||||
visibility = ["//c-toxcore/other:__pkg__"],
|
||||
deps = [
|
||||
"//c-toxcore/toxcore:ccompat",
|
||||
"//c-toxcore/toxcore:crypto_core",
|
||||
"@libsodium",
|
||||
],
|
||||
)
|
||||
|
||||
CIMPLE_SRCS = glob(
|
||||
[
|
||||
"*.c",
|
||||
"*.h",
|
||||
],
|
||||
exclude = ["*.api.h"],
|
||||
)
|
||||
|
||||
sh_library(
|
||||
name = "cimple_files",
|
||||
srcs = CIMPLE_SRCS,
|
||||
visibility = ["//c-toxcore/testing:__pkg__"],
|
||||
)
|
Reference in New Issue
Block a user