diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-17 01:18:04 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-07-22 02:34:30 +0000 |
commit | f627a26a7b1c3619ba66f84b87092ff8ba7a95b6 (patch) | |
tree | c72c950fab473dc9bec4b5329d251b790e55443d /toxav/BUILD.bazel | |
parent | 7245ac11ef9be2420c8356c12acc79f93ea211bb (diff) |
Run Clang global static analysis on Travis.
This uses a single .cc file containing almost all the code in the
repository to perform whole program analysis.
Diffstat (limited to 'toxav/BUILD.bazel')
-rw-r--r-- | toxav/BUILD.bazel | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/toxav/BUILD.bazel b/toxav/BUILD.bazel index f6c92b52..ec67d986 100644 --- a/toxav/BUILD.bazel +++ b/toxav/BUILD.bazel | |||
@@ -28,6 +28,16 @@ cc_test( | |||
28 | ) | 28 | ) |
29 | 29 | ||
30 | cc_library( | 30 | cc_library( |
31 | name = "ring_buffer_srcs", | ||
32 | hdrs = [ | ||
33 | "ring_buffer.c", | ||
34 | "ring_buffer.h", | ||
35 | ], | ||
36 | visibility = ["//c-toxcore/testing:__pkg__"], | ||
37 | deps = ["//c-toxcore/toxcore:ccompat"], | ||
38 | ) | ||
39 | |||
40 | cc_library( | ||
31 | name = "bwcontroller", | 41 | name = "bwcontroller", |
32 | srcs = ["bwcontroller.c"], | 42 | srcs = ["bwcontroller.c"], |
33 | hdrs = ["bwcontroller.h"], | 43 | hdrs = ["bwcontroller.h"], |
@@ -117,20 +127,3 @@ cc_library( | |||
117 | ":video", | 127 | ":video", |
118 | ], | 128 | ], |
119 | ) | 129 | ) |
120 | |||
121 | cc_library( | ||
122 | name = "monolith", | ||
123 | hdrs = glob([ | ||
124 | "*.c", | ||
125 | "*.h", | ||
126 | ]), | ||
127 | visibility = [ | ||
128 | "//c-toxcore/other:__pkg__", | ||
129 | "//c-toxcore/testing:__pkg__", | ||
130 | ], | ||
131 | deps = [ | ||
132 | "//c-toxcore/toxcore:group", | ||
133 | "@libvpx", | ||
134 | "@opus", | ||
135 | ], | ||
136 | ) | ||