llvm-project/llvm/utils/gn/build
Nico Weber 1be23a901f [gn build] Process .def.in files in llvm/Config and add lib/Target/BUILD.gn
Tweak write_cmake_config.py to also handle variable references looking @FOO@
(matching CMake's configure_file() function), and make it replace '\' 'n' in
values with a newline literal since there's no good portable way of passing a
real newline literal on a command line.

Use that to process all the .def.in files in llvm/include/Config and add
llvm/lib/Target/BUILD.gn, which (indirectly, through llvm-c/Target.h) includes
them.

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

llvm-svn: 348503
2018-12-06 17:42:35 +00:00
..
libs Move a file I forgot to move in r347636. 2018-11-27 05:49:08 +00:00
toolchain
BUILD.gn
BUILDCONFIG.gn
buildflags.gni
mac_sdk.gni
run_tablegen.py [gn build] Set +x bit on .py files in llvm/utils/gn/build. 2018-11-29 22:56:40 +00:00
sync_source_lists_from_cmake.py [gn build] Set +x bit on .py files in llvm/utils/gn/build. 2018-11-29 22:56:40 +00:00
write_cmake_config.py [gn build] Process .def.in files in llvm/Config and add lib/Target/BUILD.gn 2018-12-06 17:42:35 +00:00
write_vcsrevision.py [gn build] Add action to generate VCSRevision.h and use it to add llvm/lib/Object/BUILD.gn 2018-12-01 00:02:39 +00:00