[llvm] 01cb390 - [gn] follow up to CLANG_DOC_TEST_ASSET_DIR

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 09:35:27 PDT 2025


Author: Nico Weber
Date: 2025-05-23T12:35:05-04:00
New Revision: 01cb390efd6c5021678f5f51748e5720714d0256

URL: https://github.com/llvm/llvm-project/commit/01cb390efd6c5021678f5f51748e5720714d0256
DIFF: https://github.com/llvm/llvm-project/commit/01cb390efd6c5021678f5f51748e5720714d0256.diff

LOG: [gn] follow up to CLANG_DOC_TEST_ASSET_DIR

Left a comment here:
https://github.com/llvm/llvm-project/pull/138062#issuecomment-2905045589

Added: 
    

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

Removed: 
    


################################################################################
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 209843d575cbd..2c6428402b8b8 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
@@ -5,7 +5,8 @@ write_cmake_config("config") {
   input = "config.h.cmake"
   output = "$target_gen_dir/config.h"
   values = [
-    "CLANG_DOC_TEST_ASSET_DIR=",
+    "CLANG_DOC_TEST_ASSET_DIR=" +
+      rebase_path("//clang-tools-extra/clang-doc/assets"),
   ]
 }
 


        


More information about the llvm-commits mailing list