[llvm] f0cda71 - [gn build] (manually) port 4a16fe1369f3ab (debuginfod)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 6 10:19:20 PST 2021
Author: Nico Weber
Date: 2021-12-06T13:19:09-05:00
New Revision: f0cda7155cdc3672a715eb84f03ea3461042e48f
URL: https://github.com/llvm/llvm-project/commit/f0cda7155cdc3672a715eb84f03ea3461042e48f
DIFF: https://github.com/llvm/llvm-project/commit/f0cda7155cdc3672a715eb84f03ea3461042e48f.diff
LOG: [gn build] (manually) port 4a16fe1369f3ab (debuginfod)
Added:
llvm/utils/gn/secondary/llvm/lib/Debuginfod/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/Debuginfod/BUILD.gn
Modified:
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/Debuginfod/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Debuginfod/BUILD.gn
new file mode 100644
index 0000000000000..ffbd5223536d4
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/lib/Debuginfod/BUILD.gn
@@ -0,0 +1,5 @@
+static_library("Debuginfod") {
+ output_name = "LLVMDebuginfod"
+ deps = [ "//llvm/lib/Support" ]
+ sources = [ "Debuginfod.cpp" ]
+}
diff --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
index ff2568b086ede..4176e743bb13f 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
@@ -15,6 +15,7 @@ group("unittests") {
"DebugInfo/GSYM:DebugInfoGSYMTests",
"DebugInfo/MSF:DebugInfoMSFTests",
"DebugInfo/PDB:DebugInfoPDBTests",
+ "Debuginfod:DebuginfodTests",
"Demangle:DemangleTests",
"ExecutionEngine:ExecutionEngineTests",
"ExecutionEngine/JITLink:JITLinkTests",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/Debuginfod/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Debuginfod/BUILD.gn
new file mode 100644
index 0000000000000..fbd9730c51707
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/Debuginfod/BUILD.gn
@@ -0,0 +1,9 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("DebuginfodTests") {
+ deps = [
+ "//llvm/lib/Debuginfod",
+ "//llvm/lib/Testing/Support",
+ ]
+ sources = [ "DebuginfodTests.cpp" ]
+}
More information about the llvm-commits
mailing list