Skip to content

Commit 1b53037

Browse files
committed
[gn build] Port 1c3320c
1 parent abdab50 commit 1b53037

File tree

2 files changed

+5
-5
lines changed
  • llvm/utils/gn/secondary/clang-tools-extra

2 files changed

+5
-5
lines changed

llvm/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ static_library("clang-doc") {
2323
"Generators.cpp",
2424
"HTMLGenerator.cpp",
2525
"HTMLMustacheGenerator.cpp",
26+
"JSONGenerator.cpp",
2627
"MDGenerator.cpp",
2728
"Mapper.cpp",
2829
"Representation.cpp",

llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-doc/BUILD.gn

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
import("//third-party/unittest/unittest.gni")
21
import("//llvm/utils/gn/build/write_cmake_config.gni")
2+
import("//third-party/unittest/unittest.gni")
33

44
write_cmake_config("config") {
55
input = "config.h.cmake"
66
output = "$target_gen_dir/config.h"
7-
values = [
8-
"CLANG_DOC_TEST_ASSET_DIR=" +
9-
rebase_path("//clang-tools-extra/clang-doc/assets"),
10-
]
7+
values = [ "CLANG_DOC_TEST_ASSET_DIR=" +
8+
rebase_path("//clang-tools-extra/clang-doc/assets") ]
119
}
1210

1311
unittest("ClangDocTests") {
@@ -43,6 +41,7 @@ unittest("ClangDocTests") {
4341
"GeneratorTest.cpp",
4442
"HTMLGeneratorTest.cpp",
4543
"HTMLMustacheGeneratorTest.cpp",
44+
"JSONGeneratorTest.cpp",
4645
"MDGeneratorTest.cpp",
4746
"MergeTest.cpp",
4847
"SerializeTest.cpp",

0 commit comments

Comments
 (0)