td_file = "Attr.td"
}
+clang_tablegen("OpenCLBuiltins") {
+ args = [
+ "-gen-clang-opencl-builtins",
+ "-I",
+ rebase_path("../..", root_out_dir),
+ ]
+}
+
# Misc
clang_tablegen("arm_neon") {
-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 = [
- ":OpenCLBuiltins",
+ "//clang/include/clang/Basic:OpenCLBuiltins",
"//clang/include/clang/Sema:AttrParsedAttrImpl",
"//clang/include/clang/Sema:AttrParsedAttrKinds",
"//clang/include/clang/Sema:AttrParsedAttrList",