Skip to content

Commit

Permalink
[gn] port 668e33c (driver_execs for llvm-dwp, llvm-libtool-darwin, sa…
Browse files Browse the repository at this point in the history
…ncov)
  • Loading branch information
nico committed Aug 2, 2023
1 parent 4e9eaa2 commit 189be3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import("//llvm/tools/binutils_symlinks.gni")
import("//llvm/utils/gn/build/driver_executable.gni")
import("//llvm/utils/gn/build/symlink_or_copy.gni")
import("//llvm/utils/TableGen/tablegen.gni")

Expand All @@ -23,7 +24,7 @@ group("symlinks") {
}
}

executable("llvm-dwp") {
driver_executable("llvm-dwp") {
deps = [
":Opts",
"//llvm/lib/DWP",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import("//llvm/tools/cctools_symlinks.gni")
import("//llvm/utils/gn/build/driver_executable.gni")
import("//llvm/utils/gn/build/symlink_or_copy.gni")
import("//llvm/utils/TableGen/tablegen.gni")

Expand All @@ -24,7 +25,7 @@ group("symlinks") {
}
}

executable("llvm-libtool-darwin") {
driver_executable("llvm-libtool-darwin") {
deps = [
":Opts",
"//llvm/lib/Object",
Expand Down
3 changes: 2 additions & 1 deletion llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import("//llvm/utils/gn/build/driver_executable.gni")
import("//llvm/utils/TableGen/tablegen.gni")

tablegen("Opts") {
visibility = [ ":sancov" ]
args = [ "-gen-opt-parser-defs" ]
}

executable("sancov") {
driver_executable("sancov") {
deps = [
":Opts",
"//llvm/lib/DebugInfo/DWARF",
Expand Down

0 comments on commit 189be3d

Please sign in to comment.