[llvm] 528a1f1 - [gn build] (manually) port 5495b691646
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 18:33:29 PDT 2020
Author: Nico Weber
Date: 2020-09-18T21:27:49-04:00
New Revision: 528a1f121c55793dbae46293ba4a088dd79de7f5
URL: https://github.com/llvm/llvm-project/commit/528a1f121c55793dbae46293ba4a088dd79de7f5
DIFF: https://github.com/llvm/llvm-project/commit/528a1f121c55793dbae46293ba4a088dd79de7f5.diff
LOG: [gn build] (manually) port 5495b691646
Added:
Modified:
llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn
index 5571e97a787d..079221e9b171 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn
@@ -2,6 +2,11 @@ import("//llvm/tools/binutils_symlinks.gni")
import("//llvm/utils/TableGen/tablegen.gni")
import("//llvm/utils/gn/build/symlink_or_copy.gni")
+tablegen("BitcodeStripOpts") {
+ visibility = [ ":llvm-objcopy" ]
+ args = [ "-gen-opt-parser-defs" ]
+}
+
tablegen("InstallNameToolOpts") {
visibility = [ ":llvm-objcopy" ]
args = [ "-gen-opt-parser-defs" ]
@@ -18,6 +23,7 @@ tablegen("StripOpts") {
}
symlinks = [
+ "llvm-bitcode-strip",
"llvm-install-name-tool",
"llvm-strip",
]
@@ -45,6 +51,7 @@ group("symlinks") {
executable("llvm-objcopy") {
deps = [
+ ":BitcodeStripOpts",
":InstallNameToolOpts",
":ObjcopyOpts",
":StripOpts",
More information about the llvm-commits
mailing list