summaryrefslogtreecommitdiff
path: root/toxencryptsave
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-18 15:14:50 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-18 16:11:52 +0000
commit18a33169b8d9b96fc85d8819a1700c729cf794f6 (patch)
tree69d7fcc22663da7682b4ea66cf8e112751904dab /toxencryptsave
parent643eea60bb9dcf4ecb33d64666b1bc77cbfd7438 (diff)
Add bazel build scripts for c-toxcore.
This allows us and users to reproducibly build verified versions of the library with checksums. It will power the toktok-stack continuous build with checked-in checksums at specific git revisions.
Diffstat (limited to 'toxencryptsave')
-rw-r--r--toxencryptsave/BUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/toxencryptsave/BUILD b/toxencryptsave/BUILD
new file mode 100644
index 00000000..8b49d554
--- /dev/null
+++ b/toxencryptsave/BUILD
@@ -0,0 +1,31 @@
1filegroup(
2 name = "public",
3 srcs = ["toxencryptsave.h"],
4 visibility = ["//visibility:public"],
5)
6
7cc_library(
8 name = "toxencryptsave",
9 srcs = [
10 "toxencryptsave.c",
11 ],
12 hdrs = [
13 "defines.h",
14 "toxencryptsave.h",
15 ],
16 visibility = [
17 "//visibility:public",
18 ],
19 deps = [
20 "//c-toxcore/toxcore:crypto_core",
21 ],
22)
23
24cc_library(
25 name = "monolith",
26 hdrs = glob([
27 "*.c",
28 "*.h",
29 ]),
30 visibility = ["//c-toxcore/other:__pkg__"],
31)