[llvm] r363378 - gn build: Merge r363376
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 05:31:18 PDT 2019
Author: nico
Date: Fri Jun 14 05:31:18 2019
New Revision: 363378
URL: http://llvm.org/viewvc/llvm-project?rev=363378&view=rev
Log:
gn build: Merge r363376
Modified:
llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Modified: llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn?rev=363378&r1=363377&r2=363378&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn Fri Jun 14 05:31:18 2019
@@ -89,6 +89,14 @@ 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") {
Modified: llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn?rev=363378&r1=363377&r2=363378&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/lib/Sema/BUILD.gn Fri Jun 14 05:31:18 2019
@@ -1,14 +1,8 @@
-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",
More information about the llvm-commits
mailing list