[llvm] 1b53037 - [gn build] Port 1c3320cdde8f

LLVM GN Syncbot via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 10:59:22 PDT 2025


Author: LLVM GN Syncbot
Date: 2025-06-10T17:52:47Z
New Revision: 1b5303744f1050a7246086a98f3e68b2727dc038

URL: https://github.com/llvm/llvm-project/commit/1b5303744f1050a7246086a98f3e68b2727dc038
DIFF: https://github.com/llvm/llvm-project/commit/1b5303744f1050a7246086a98f3e68b2727dc038.diff

LOG: [gn build] Port 1c3320cdde8f

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn
index 3794e15189e50..5815537318b3a 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn
@@ -23,6 +23,7 @@ static_library("clang-doc") {
     "Generators.cpp",
     "HTMLGenerator.cpp",
     "HTMLMustacheGenerator.cpp",
+    "JSONGenerator.cpp",
     "MDGenerator.cpp",
     "Mapper.cpp",
     "Representation.cpp",

diff  --git a/llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-doc/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-doc/BUILD.gn
index 2c6428402b8b8..4cbd3b96d8ff4 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-doc/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-doc/BUILD.gn
@@ -1,13 +1,11 @@
-import("//third-party/unittest/unittest.gni")
 import("//llvm/utils/gn/build/write_cmake_config.gni")
+import("//third-party/unittest/unittest.gni")
 
 write_cmake_config("config") {
   input = "config.h.cmake"
   output = "$target_gen_dir/config.h"
-  values = [
-    "CLANG_DOC_TEST_ASSET_DIR=" +
-      rebase_path("//clang-tools-extra/clang-doc/assets"),
-  ]
+  values = [ "CLANG_DOC_TEST_ASSET_DIR=" +
+             rebase_path("//clang-tools-extra/clang-doc/assets") ]
 }
 
 unittest("ClangDocTests") {
@@ -43,6 +41,7 @@ unittest("ClangDocTests") {
     "GeneratorTest.cpp",
     "HTMLGeneratorTest.cpp",
     "HTMLMustacheGeneratorTest.cpp",
+    "JSONGeneratorTest.cpp",
     "MDGeneratorTest.cpp",
     "MergeTest.cpp",
     "SerializeTest.cpp",


        


More information about the llvm-commits mailing list