-
Notifications
You must be signed in to change notification settings - Fork 2
/
BUILD.bazel
68 lines (67 loc) · 2.18 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
cc_library(
name = "argdata",
srcs = [
"src/argdata_create_binary.c",
"src/argdata_create_fd.c",
"src/argdata_create_float.c",
"src/argdata_create_int_s.c",
"src/argdata_create_int_u.c",
"src/argdata_create_map.c",
"src/argdata_create_seq.c",
"src/argdata_create_str.c",
"src/argdata_create_str_c.c",
"src/argdata_create_timestamp.c",
"src/argdata_false.c",
"src/argdata_free.c",
"src/argdata_from_buffer.c",
"src/argdata_get_binary.c",
"src/argdata_get_bool.c",
"src/argdata_get_fd.c",
"src/argdata_get_float.c",
"src/argdata_get_int_s.c",
"src/argdata_get_int_u.c",
"src/argdata_get_str.c",
"src/argdata_get_str_c.c",
"src/argdata_get_timestamp.c",
"src/argdata_impl.h",
"src/argdata_map_get.c",
"src/argdata_map_iterate.c",
"src/argdata_map_next.c",
"src/argdata_null.c",
"src/argdata_print_yaml.c",
"src/argdata_reader_create.c",
"src/argdata_reader_free.c",
"src/argdata_reader_get.c",
"src/argdata_reader_impl.h",
"src/argdata_reader_pull.c",
"src/argdata_reader_release_fd.c",
"src/argdata_seq_get.c",
"src/argdata_seq_iterate.c",
"src/argdata_seq_next.c",
"src/argdata_serialize.c",
"src/argdata_serialized_length.c",
"src/argdata_true.c",
"src/argdata_writer_create.c",
"src/argdata_writer_free.c",
"src/argdata_writer_impl.h",
"src/argdata_writer_push.c",
"src/argdata_writer_set.c",
],
hdrs = [
"src/argdata.h",
"src/argdata.hpp",
],
linkopts = ["-lm"],
strip_include_prefix = "src",
visibility = ["//visibility:public"],
)
# Internal implementation details of the library. These ought to be
# private, except that cloudlibc's crt needs them to initialize an
# argdata_t without performing heap allocations during process startup.
cc_library(
name = "argdata_impl",
hdrs = ["src/argdata_impl.h"],
strip_include_prefix = "src",
visibility = ["//visibility:public"],
deps = [":argdata"],
)