Vitaly Buka
c5c8e28756
[GN] Update build files
...
llvm-svn: 364491
2019-06-27 01:34:19 +00:00
Nico Weber
95c9020d97
gn build: Merge r363204 (clang-scan-deps)
...
llvm-svn: 363353
2019-06-14 04:26:01 +00:00
Nico Weber
584e7486ab
gn build: Re-run `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`
...
llvm-svn: 358862
2019-04-21 20:14:21 +00:00
Petr Hosek
45fc90326a
[gn] Support dots in CMake paths in the sync script
...
Some file paths use dots to pick up sources from parent directories.
Differential Revision: https://reviews.llvm.org/D60734
llvm-svn: 358774
2019-04-19 18:29:17 +00:00
Peter Collingbourne
82bf8e82c9
gn build: Make check-{clang,lld,llvm} pass on FreeBSD.
...
Mostly achieved by assuming that anything that isn't Win or Mac is ELF,
which seems reasonable enough for now.
Differential Revision: https://reviews.llvm.org/D57870
llvm-svn: 353470
2019-02-07 21:24:30 +00:00
Nico Weber
a82855a5d7
gn build: Add a template for calling write_cmake_config.py
...
No behavior change.
Differential Revision: https://reviews.llvm.org/D56487
llvm-svn: 350905
2019-01-10 23:10:04 +00:00
Nico Weber
e50254c6ac
gn build: Merge r350852
...
llvm-svn: 350904
2019-01-10 23:05:39 +00:00
Nico Weber
c01e15ed98
[gn build] Add build file for libLTO.dylib
...
Not used by anything yet, but will be needed to make check-llvm run ld64's libLTO plugin tests.
Differential Revision: https://reviews.llvm.org/D56317
llvm-svn: 350409
2019-01-04 17:12:25 +00:00
Nico Weber
ba9d5cf961
[gn build] Add build files for clang/tools/{c-arcmt-test,c-index-test} and their dependency clang/tools/libclang
...
libclang is somewhat incomplete. It's just enough to get check-clang to pass,
but that requires it to be pretty complete. The biggest thing is that it's not
built as a shared library on Linux. The libclang/BUILD.gn file has a comment
with details on what else is missing.
Differential Revision: https://reviews.llvm.org/D56059
llvm-svn: 350054
2018-12-24 15:45:04 +00:00
Nico Weber
0c07407bb5
[gn build] Add build files for clang/tools/{arcmt-test,clang-check,clang-func-mapping}
...
Needed for check-clang.
Differential Revision: https://reviews.llvm.org/D56056
llvm-svn: 350026
2018-12-23 14:19:53 +00:00
Nico Weber
6df17c679d
[gn build] Add build files for clang/tools/{clang-refactor,clang-rename}, clang/utils/hmaptool, clang/lib/Tooling/Refactoring
...
Needed for check-clang.
Differential Revision: https://reviews.llvm.org/D56055
llvm-svn: 350025
2018-12-23 14:17:13 +00:00
Nico Weber
9f20b9a202
[gn build] Add build files for clang/tools/{clang-diff,clang-import-test,diagtool and clang/lib/Tooling, clang/lib/Tooling/ASTDiff
...
Needed for check-clang.
Differential Revision: https://reviews.llvm.org/D56054
llvm-svn: 350024
2018-12-23 14:15:26 +00:00
Nico Weber
729e3c0c0e
[gn build] Embed __TEXT __info_plist section into clang binary on macOS
...
Verified by comparing the output of `otool -P bin/clang` between the GN and the
CMake build.
Differential Revision: https://reviews.llvm.org/D55984
llvm-svn: 349992
2018-12-22 03:51:10 +00:00
Nico Weber
6399c5a3ba
[gn build] Add build files for clang, clang-offload-bundler, and clang/lib/Headers
...
With this, the GN build can build clang!
Differential Revision: https://reviews.llvm.org/D55981
llvm-svn: 349991
2018-12-22 03:49:44 +00:00
Nico Weber
29ea6035be
[gn build] Add build files for clang-format and lib/{Format,Rewrite,Tooling/Core,Tooling/Inclusions}
...
Differential Revision: https://reviews.llvm.org/D55924
llvm-svn: 349830
2018-12-20 21:51:46 +00:00