[gn build] Add build file for clang/lib/Basic and dependencies
authorNico Weber <nicolasweber@gmx.de>
Wed, 19 Dec 2018 20:18:59 +0000 (20:18 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 19 Dec 2018 20:18:59 +0000 (20:18 +0000)
commit25899273072cb694b36561396ebc5923b8cdaadc
treed22c7468a2e28a19496a102539172c3af3c9ad98
parente7652f5c0d099403b9f0ff5a93a39b809c20869d
[gn build] Add build file for clang/lib/Basic and dependencies

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

llvm-svn: 349677
15 files changed:
llvm/tools/llvm-ar/CMakeLists.txt
llvm/tools/llvm-bcanalyzer/CMakeLists.txt
llvm/tools/llvm-demangle-fuzzer/llvm-demangle-fuzzer.cpp
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
llvm/utils/lit/lit/TestRunner.py
llvm/utils/lit/lit/run.py