[llvm] r364501 - gn build: Follow-up to r364491 "[GN] Update build files"
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 23:08:58 PDT 2019
Author: nico
Date: Wed Jun 26 23:08:57 2019
New Revision: 364501
URL: http://llvm.org/viewvc/llvm-project?rev=364501&view=rev
Log:
gn build: Follow-up to r364491 "[GN] Update build files"
- Merge r364427 (GSYM lib) more: It was missing the new unit test
(as pointed out by llvm/utils/gn/build/sync_source_lists_from_cmake.py),
and it had some superfluous deps not present in the cmake build.
- Merge r364474 (clang DependencyScanning lib) more: The deps didn't
quite match cmake.
Added:
llvm/trunk/utils/gn/secondary/llvm/unittests/DebugInfo/GSYM/
llvm/trunk/utils/gn/secondary/llvm/unittests/DebugInfo/GSYM/BUILD.gn
Modified:
llvm/trunk/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/test/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/unittests/BUILD.gn
Modified: llvm/trunk/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn?rev=364501&r1=364500&r2=364501&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn Wed Jun 26 23:08:57 2019
@@ -11,6 +11,7 @@ static_library("DependencyScanning") {
"//clang/lib/Parse",
"//clang/lib/Serialization",
"//clang/lib/Tooling",
+ "//llvm/lib/IR",
"//llvm/lib/Support",
]
sources = [
Modified: llvm/trunk/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn?rev=364501&r1=364500&r2=364501&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn Wed Jun 26 23:08:57 2019
@@ -1,9 +1,6 @@
static_library("GSYM") {
output_name = "LLVMDebugInfoGSYM"
deps = [
- "//llvm/lib/BinaryFormat",
- "//llvm/lib/MC",
- "//llvm/lib/Object",
"//llvm/lib/Support",
]
sources = [
Modified: llvm/trunk/utils/gn/secondary/llvm/test/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/test/BUILD.gn?rev=364501&r1=364500&r2=364501&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/test/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/llvm/test/BUILD.gn Wed Jun 26 23:08:57 2019
@@ -191,7 +191,6 @@ group("test") {
# dependencies to make sure the libaries exist on disk when llvm-config's
# lit tests run.
"//llvm/lib/LineEditor",
- "//llvm/lib/DebugInfo/GSYM",
"//llvm/lib/Testing/Support",
"//llvm/tools/bugpoint",
"//llvm/tools/dsymutil",
Modified: llvm/trunk/utils/gn/secondary/llvm/unittests/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/unittests/BUILD.gn?rev=364501&r1=364500&r2=364501&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/unittests/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/llvm/unittests/BUILD.gn Wed Jun 26 23:08:57 2019
@@ -11,6 +11,7 @@ group("unittests") {
"CodeGen/GlobalISel:GlobalISelTests",
"DebugInfo/CodeView:DebugInfoCodeViewTests",
"DebugInfo/DWARF:DebugInfoDWARFTests",
+ "DebugInfo/GSYM:DebugInfoGSYMTests",
"DebugInfo/MSF:DebugInfoMSFTests",
"DebugInfo/PDB:DebugInfoPDBTests",
"Demangle:DemangleTests",
Added: llvm/trunk/utils/gn/secondary/llvm/unittests/DebugInfo/GSYM/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/llvm/unittests/DebugInfo/GSYM/BUILD.gn?rev=364501&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/llvm/unittests/DebugInfo/GSYM/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/llvm/unittests/DebugInfo/GSYM/BUILD.gn Wed Jun 26 23:08:57 2019
@@ -0,0 +1,17 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("DebugInfoGSYMTests") {
+ deps = [
+ "//llvm/lib/CodeGen/AsmPrinter",
+ "//llvm/lib/DebugInfo/GSYM",
+ "//llvm/lib/MC",
+ "//llvm/lib/Object",
+ "//llvm/lib/ObjectYAML",
+ "//llvm/lib/Support",
+ "//llvm/lib/Target:TargetsToBuild",
+ "//llvm/lib/Testing/Support",
+ ]
+ sources = [
+ "GSYMTest.cpp",
+ ]
+}
More information about the llvm-commits
mailing list