diff options
Diffstat (limited to 'toxav/BUILD.bazel')
-rw-r--r-- | toxav/BUILD.bazel | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/toxav/BUILD.bazel b/toxav/BUILD.bazel index a2b57ee9..865c0545 100644 --- a/toxav/BUILD.bazel +++ b/toxav/BUILD.bazel | |||
@@ -122,3 +122,23 @@ cc_library( | |||
122 | ":video", | 122 | ":video", |
123 | ], | 123 | ], |
124 | ) | 124 | ) |
125 | |||
126 | CIMPLE_SRCS = glob( | ||
127 | [ | ||
128 | "*.c", | ||
129 | "*.h", | ||
130 | ], | ||
131 | exclude = [ | ||
132 | "*.api.h", | ||
133 | "toxav.h", | ||
134 | ], | ||
135 | ) | ||
136 | |||
137 | sh_test( | ||
138 | name = "cimple_test", | ||
139 | size = "small", | ||
140 | srcs = ["//hs-tokstyle/tools:check-cimple"], | ||
141 | args = ["$(location %s)" % f for f in CIMPLE_SRCS], | ||
142 | data = CIMPLE_SRCS, | ||
143 | tags = ["manual"], | ||
144 | ) | ||