gn build: Merge r363242

llvm-svn: 363324
This commit is contained in:
Nico Weber 2019-06-13 20:25:18 +00:00
parent ccecd22db9
commit 9c6806b164
2 changed files with 7 additions and 9 deletions

View File

@ -89,14 +89,6 @@ clang_tablegen("AttrHasAttributeImpl") {
td_file = "Attr.td"
}
clang_tablegen("OpenCLBuiltins") {
args = [
"-gen-clang-opencl-builtins",
"-I",
rebase_path("../..", root_out_dir),
]
}
# Misc
clang_tablegen("arm_neon") {

View File

@ -1,8 +1,14 @@
import("//clang/utils/TableGen/clang_tablegen.gni")
clang_tablegen("OpenCLBuiltins") {
args = [ "-gen-clang-opencl-builtins" ]
}
static_library("Sema") {
output_name = "clangSema"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang/include/clang/Basic:OpenCLBuiltins",
":OpenCLBuiltins",
"//clang/include/clang/Sema:AttrParsedAttrImpl",
"//clang/include/clang/Sema:AttrParsedAttrKinds",
"//clang/include/clang/Sema:AttrParsedAttrList",