[llvm] 12109a3 - [gn build] (manually) port fe66aebd7551 (PseudoCLI)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 1 01:45:44 PDT 2022
Author: Nico Weber
Date: 2022-07-01T10:45:35+02:00
New Revision: 12109a3b40e3107ab11d6b92c57f04f4d985230e
URL: https://github.com/llvm/llvm-project/commit/12109a3b40e3107ab11d6b92c57f04f4d985230e
DIFF: https://github.com/llvm/llvm-project/commit/12109a3b40e3107ab11d6b92c57f04f4d985230e.diff
LOG: [gn build] (manually) port fe66aebd7551 (PseudoCLI)
Added:
llvm/utils/gn/secondary/clang-tools-extra/pseudo/lib/cli/BUILD.gn
Modified:
llvm/utils/gn/secondary/clang-tools-extra/pseudo/tool/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/pseudo/lib/cli/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/pseudo/lib/cli/BUILD.gn
new file mode 100644
index 0000000000000..80c748dc12da2
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang-tools-extra/pseudo/lib/cli/BUILD.gn
@@ -0,0 +1,11 @@
+static_library("cli") {
+ output_name = "clangPseudoCLI"
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang-tools-extra/pseudo/lib/cxx",
+ "//clang-tools-extra/pseudo/lib/grammar",
+ "//llvm/lib/Support",
+ ]
+ include_dirs = [ "../../include" ]
+ sources = [ "CLI.cpp" ]
+}
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/pseudo/tool/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/pseudo/tool/BUILD.gn
index 6fbe7d94ddae4..d891dd22673c7 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/pseudo/tool/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/pseudo/tool/BUILD.gn
@@ -2,6 +2,7 @@ executable("clang-pseudo") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/pseudo/lib",
+ "//clang-tools-extra/pseudo/lib/cli",
"//clang/lib/Basic",
"//llvm/lib/Support",
]
More information about the llvm-commits
mailing list