[llvm] 0890efe - Reland "[gn build] (manually) port 4a16fe1369f3ab (debuginfod)"
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 6 15:16:17 PST 2021
Author: Nico Weber
Date: 2021-12-06T18:15:20-05:00
New Revision: 0890efe6137ae86591cafba889c62eeb18890225
URL: https://github.com/llvm/llvm-project/commit/0890efe6137ae86591cafba889c62eeb18890225
DIFF: https://github.com/llvm/llvm-project/commit/0890efe6137ae86591cafba889c62eeb18890225.diff
LOG: Reland "[gn build] (manually) port 4a16fe1369f3ab (debuginfod)"
This reverts commit 4b63562ebcfa2bc194a778018e212dc3b99528f7.
The debuginfod change relanded in 0e0f1b28fce8
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