File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,19 @@ cc_test(
5656)
5757
5858expand_template (
59- name = "clang_doc_config " ,
59+ name = "clang_doc_config_h " ,
6060 out = "clang-doc/config.h" ,
6161 substitutions = {
6262 "#define CLANG_DOC_TEST_ASSET_DIR \" ${CLANG_DOC_TEST_ASSET_DIR}\" " : "#define CLANG_DOC_TEST_ASSET_DIR \" clang-tools-extra/clang-doc/assets\" " ,
6363 },
6464 template = "clang-doc/config.h.cmake" ,
6565)
6666
67+ cc_library (
68+ name = "clang_doc_config" ,
69+ hdrs = ["clang-doc/config.h" ],
70+ )
71+
6772cc_test (
6873 name = "clang_doc_test" ,
6974 size = "small" ,
@@ -73,9 +78,12 @@ cc_test(
7378 "clang-doc/*.h" ,
7479 ],
7580 allow_empty = False ,
81+ exclude = ["clang-doc/config.h" ],
7682 ),
7783 data = ["//clang-tools-extra/clang-doc:assets" ],
84+ includes = ["clang-doc" ],
7885 deps = [
86+ ":clang_doc_config" ,
7987 "//clang:ast" ,
8088 "//clang:basic" ,
8189 "//clang-tools-extra/clang-doc:generators" ,
You can’t perform that action at this time.
0 commit comments