[llvm] 189be3d - [gn] port 668e33c640 (driver_execs for llvm-dwp, llvm-libtool-darwin, sancov)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 2 06:58:36 PDT 2023
Author: Nico Weber
Date: 2023-08-02T09:58:28-04:00
New Revision: 189be3d793904809b98b426133597c22de9f15fe
URL: https://github.com/llvm/llvm-project/commit/189be3d793904809b98b426133597c22de9f15fe
DIFF: https://github.com/llvm/llvm-project/commit/189be3d793904809b98b426133597c22de9f15fe.diff
LOG: [gn] port 668e33c640 (driver_execs for llvm-dwp, llvm-libtool-darwin, sancov)
Added:
Modified:
llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-libtool-darwin/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
index f618fc0edeb07c..01f8d0f134dd26 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
@@ -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")
@@ -23,7 +24,7 @@ group("symlinks") {
}
}
-executable("llvm-dwp") {
+driver_executable("llvm-dwp") {
deps = [
":Opts",
"//llvm/lib/DWP",
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-libtool-darwin/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-libtool-darwin/BUILD.gn
index 88898480be009d..c974cae267371d 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-libtool-darwin/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-libtool-darwin/BUILD.gn
@@ -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")
@@ -24,7 +25,7 @@ group("symlinks") {
}
}
-executable("llvm-libtool-darwin") {
+driver_executable("llvm-libtool-darwin") {
deps = [
":Opts",
"//llvm/lib/Object",
diff --git a/llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
index fedc86baa3f62e..ff0fd700c911ac 100644
--- a/llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
@@ -1,3 +1,4 @@
+import("//llvm/utils/gn/build/driver_executable.gni")
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("Opts") {
@@ -5,7 +6,7 @@ tablegen("Opts") {
args = [ "-gen-opt-parser-defs" ]
}
-executable("sancov") {
+driver_executable("sancov") {
deps = [
":Opts",
"//llvm/lib/DebugInfo/DWARF",
More information about the llvm-commits
mailing list