mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[gn build] (manually) port 92f9852fc99b, clang-repl
This commit is contained in:
parent
da8040707c
commit
9d6d3a623d
29
utils/gn/secondary/clang/lib/Interpreter/BUILD.gn
Normal file
29
utils/gn/secondary/clang/lib/Interpreter/BUILD.gn
Normal file
@ -0,0 +1,29 @@
|
||||
static_library("Interpreter") {
|
||||
output_name = "clangInterpreter"
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
"//clang/lib/AST",
|
||||
"//clang/lib/Analysis",
|
||||
"//clang/lib/Basic",
|
||||
"//clang/lib/Driver",
|
||||
"//clang/lib/Edit",
|
||||
"//clang/lib/Frontend",
|
||||
"//clang/lib/FrontendTool",
|
||||
"//clang/lib/Lex",
|
||||
"//clang/lib/Parse",
|
||||
"//clang/lib/Sema",
|
||||
"//clang/lib/Serialization",
|
||||
"//clang/lib/CodeGen",
|
||||
"//llvm/lib/IR",
|
||||
"//llvm/lib/Option",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Target",
|
||||
"//llvm/lib/Target:NativeTarget",
|
||||
"//llvm/lib/ExecutionEngine/Orc",
|
||||
]
|
||||
sources = [
|
||||
"IncrementalExecutor.cpp",
|
||||
"IncrementalParser.cpp",
|
||||
"Interpreter.cpp",
|
||||
]
|
||||
}
|
@ -145,6 +145,7 @@ group("test") {
|
||||
"//clang/tools/clang-offload-bundler",
|
||||
"//clang/tools/clang-refactor",
|
||||
"//clang/tools/clang-rename",
|
||||
"//clang/tools/clang-repl",
|
||||
"//clang/tools/clang-scan-deps",
|
||||
"//clang/tools/diagtool",
|
||||
"//clang/tools/driver:symlinks",
|
||||
|
15
utils/gn/secondary/clang/tools/clang-repl/BUILD.gn
Normal file
15
utils/gn/secondary/clang/tools/clang-repl/BUILD.gn
Normal file
@ -0,0 +1,15 @@
|
||||
executable("clang-repl") {
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
"//clang/lib/Basic",
|
||||
"//clang/lib/Interpreter",
|
||||
"//clang/lib/Tooling",
|
||||
"//llvm/lib/ExecutionEngine/Orc",
|
||||
"//llvm/lib/IR",
|
||||
"//llvm/lib/LineEditor",
|
||||
"//llvm/lib/Option",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Target:TargetsToBuild",
|
||||
]
|
||||
sources = [ "ClangRepl.cpp" ]
|
||||
}
|
@ -12,6 +12,7 @@ group("unittests") {
|
||||
"Format:FormatTests",
|
||||
"Frontend:FrontendTests",
|
||||
"Index:IndexTests",
|
||||
"Interpreter:ClangReplInterpreterTests",
|
||||
"Introspection:IntrospectionTests",
|
||||
"Lex:LexTests",
|
||||
"Rename:ClangRenameTests",
|
||||
|
@ -16,7 +16,6 @@ unittest("ClangCodeGenTests") {
|
||||
"BufferSourceTest.cpp",
|
||||
"CheckTargetFeaturesTest.cpp",
|
||||
"CodeGenExternalTest.cpp",
|
||||
"IncrementalProcessingTest.cpp",
|
||||
"TBAAMetadataTest.cpp",
|
||||
]
|
||||
}
|
||||
|
16
utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
Normal file
16
utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
Normal file
@ -0,0 +1,16 @@
|
||||
import("//llvm/utils/unittest/unittest.gni")
|
||||
|
||||
unittest("ClangReplInterpreterTests") {
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
"//clang/lib/AST",
|
||||
"//clang/lib/Basic",
|
||||
"//clang/lib/Frontend",
|
||||
"//clang/lib/Interpreter",
|
||||
"//llvm/lib/IR",
|
||||
]
|
||||
sources = [
|
||||
"IncrementalProcessingTest.cpp",
|
||||
"InterpreterTest.cpp",
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user