[gn build] Add build file for clang/lib/Basic and dependencies, 2nd try
authorNico Weber <nicolasweber@gmx.de>
Wed, 19 Dec 2018 20:21:49 +0000 (20:21 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 19 Dec 2018 20:21:49 +0000 (20:21 +0000)
commit610453e418cfdc9026b30f7b7f338fe3066afd3c
tree8d0ff593fa14d2ab375ea736229916def8ed0796
parent93c5e2abb6e387569ee5e066a249d6da7a53cad2
[gn build] Add build file for clang/lib/Basic and dependencies, 2nd try

Adds a build file for clang-tblgen and an action for running it, and uses that
to process all the .td files in include/clang/Basic.

Also adds an action to write include/clang/Config/config.h and
include/clang/Basic/Version.inc.

Differential Revision: https://reviews.llvm.org/D55847

(The previous commit of this contained unrelated changes, so I reverted the
whole previous commit and I'm now landing only what I intended to land.)

llvm-svn: 349679
llvm/utils/gn/secondary/BUILD.gn
llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn [new file with mode: 0644]
llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn [new file with mode: 0644]
llvm/utils/gn/secondary/clang/lib/ARCMigrate/enable.gni [new file with mode: 0644]
llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn [new file with mode: 0644]
llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Frontend/enable.gni [new file with mode: 0644]
llvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn [new file with mode: 0644]
llvm/utils/gn/secondary/clang/utils/TableGen/clang_tablegen.gni [new file with mode: 0644]
llvm/utils/gn/secondary/lld/include/lld/Common/BUILD.gn
llvm/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni