diff options
Diffstat (limited to 'toxencryptsave')
-rw-r--r-- | toxencryptsave/BUILD | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/toxencryptsave/BUILD b/toxencryptsave/BUILD index 6dfb67b1..bdb0031e 100644 --- a/toxencryptsave/BUILD +++ b/toxencryptsave/BUILD | |||
@@ -1,25 +1,24 @@ | |||
1 | load("//tools:no_undefined.bzl", "cc_library") | ||
2 | |||
1 | filegroup( | 3 | filegroup( |
2 | name = "public", | 4 | name = "public_headers", |
3 | srcs = ["toxencryptsave.h"], | 5 | srcs = ["toxencryptsave.h"], |
4 | visibility = ["//visibility:public"], | 6 | visibility = ["//c-toxcore:__pkg__"], |
7 | ) | ||
8 | |||
9 | cc_library( | ||
10 | name = "defines", | ||
11 | hdrs = ["defines.h"], | ||
12 | visibility = ["//c-toxcore/toxcore:__pkg__"], | ||
5 | ) | 13 | ) |
6 | 14 | ||
7 | cc_library( | 15 | cc_library( |
8 | name = "toxencryptsave", | 16 | name = "toxencryptsave", |
9 | srcs = [ | 17 | srcs = ["toxencryptsave.c"], |
10 | "toxencryptsave.c", | 18 | hdrs = ["toxencryptsave.h"], |
11 | ], | 19 | visibility = ["//visibility:public"], |
12 | hdrs = [ | ||
13 | "defines.h", | ||
14 | "toxencryptsave.h", | ||
15 | ], | ||
16 | copts = [ | ||
17 | "-std=c99", | ||
18 | ], | ||
19 | visibility = [ | ||
20 | "//visibility:public", | ||
21 | ], | ||
22 | deps = [ | 20 | deps = [ |
21 | ":defines", | ||
23 | "//c-toxcore/toxcore:crypto_core", | 22 | "//c-toxcore/toxcore:crypto_core", |
24 | ], | 23 | ], |
25 | ) | 24 | ) |
@@ -31,4 +30,5 @@ cc_library( | |||
31 | "*.h", | 30 | "*.h", |
32 | ]), | 31 | ]), |
33 | visibility = ["//c-toxcore/other:__pkg__"], | 32 | visibility = ["//c-toxcore/other:__pkg__"], |
33 | deps = ["//c-toxcore/toxcore:crypto_core"], | ||
34 | ) | 34 | ) |