summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/secondary
Commit message (Collapse)AuthorAgeFilesLines
...
* gn build: Merge r359142Nico Weber2019-04-251-0/+1
| | | | llvm-svn: 359187
* gn build: Merge r359050 moreNico Weber2019-04-242-0/+2
| | | | llvm-svn: 359058
* gn build: Merge r359050Nico Weber2019-04-242-0/+2
| | | | llvm-svn: 359056
* gn build: Merge r358944Nico Weber2019-04-231-0/+1
| | | | llvm-svn: 358993
* gn build: Merge r358949Nico Weber2019-04-232-0/+2
| | | | llvm-svn: 358991
* gn build: Merge r358869Nico Weber2019-04-222-4/+4
| | | | llvm-svn: 358912
* gn build: Re-run `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py ↵Nico Weber2019-04-212-2/+1
| | | | | | format` llvm-svn: 358862
* gn build: Merge r358749Nico Weber2019-04-213-9/+11
| | | | | | | | | | | | Since the symlinks list for llvm-symbolizer is now never empty, the :symlinks target no longer needs an explicit dep on :llvm-symbolizer -- there will be at least one dep on a symlink, and each symlink depends on :llvm-symbolizer already. Since llvm-symbolizer:symlinks now produces symlinks that check-llvm uses, make llvm/test depend on the symlink target. llvm-svn: 358861
* gn build: Merge r358818 (JITLink)Nico Weber2019-04-216-0/+56
| | | | llvm-svn: 358860
* gn build: Fix build after r358837Nico Weber2019-04-211-1/+0
| | | | llvm-svn: 358851
* [gn] Move Features.inc to clangd, create a config for itPetr Hosek2019-04-213-20/+25
| | | | | | | | | | | ClangdLSPServer and clangd unittests now include Features.inc so we need to append the target_gen_dir that contains it to their include_dirs. To do so, we use a public config that's applied to any target that depends on the features one. Differential Revision: https://reviews.llvm.org/D60919 llvm-svn: 358837
* Update GN files to build with r358103Vitaly Buka2019-04-193-2/+14
| | | | llvm-svn: 358790
* [gn] Support dots in CMake paths in the sync scriptPetr Hosek2019-04-191-0/+1
| | | | | | | | Some file paths use dots to pick up sources from parent directories. Differential Revision: https://reviews.llvm.org/D60734 llvm-svn: 358774
* gn build: Merge r358722Nico Weber2019-04-191-0/+1
| | | | llvm-svn: 358755
* gn build: Merge r358691Nico Weber2019-04-192-0/+2
| | | | llvm-svn: 358754
* gn build: Merge r358607Nico Weber2019-04-181-0/+1
| | | | llvm-svn: 358670
* gn build: Merge r358633Nico Weber2019-04-181-0/+1
| | | | llvm-svn: 358669
* gn build: Merge r358620Nico Weber2019-04-181-0/+1
| | | | llvm-svn: 358668
* gn build: Merge r358554Nico Weber2019-04-171-0/+1
| | | | llvm-svn: 358578
* gn build: Merge r358422Nico Weber2019-04-161-0/+1
| | | | llvm-svn: 358486
* gn build: Merge r358390Nico Weber2019-04-151-0/+1
| | | | llvm-svn: 358397
* gn build: Merge r358297Nico Weber2019-04-141-0/+1
| | | | llvm-svn: 358366
* gn build: Merge r358243Nico Weber2019-04-141-0/+1
| | | | llvm-svn: 358365
* gn build: Merge r358272Nico Weber2019-04-141-0/+1
| | | | llvm-svn: 358364
* gn build: Merge r357905Nico Weber2019-04-082-0/+2
| | | | llvm-svn: 357907
* gn-build: Re-run `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py ↵Nico Weber2019-04-081-2/+3
| | | | | | format` llvm-svn: 357906
* [gn] Support for per-target runtime directory layoutPetr Hosek2019-04-065-17/+35
| | | | | | | | | | This change also introduces the clang_enable_per_target_runtime_dir to enable the use of per-target runtime directory layout which is the equivalent of LLVM_ENABLE_PER_TARGET_RUNTIME_DIR CMake option. Differential Revision: https://reviews.llvm.org/D60332 llvm-svn: 357850
* gn build: Pacify `gn format`Nico Weber2019-04-051-0/+8
| | | | llvm-svn: 357830
* [gn] Support for building compiler-rt builtinsPetr Hosek2019-04-054-0/+489
| | | | | | | | | | | | | | | | This is support for building compiler-rt builtins, The library build should be complete for a subset of supported platforms, but not all CMake options have been replicated in GN. We always use the just built compiler to build all the runtimes, which is equivalent to the CMake runtimes build. This simplifies the build configuration because we don't need to support arbitrary host compiler and can always assume the latest Clang. With GN's toolchain support, this is significantly more efficient than the CMake runtimes build. Differential Revision: https://reviews.llvm.org/D60331 llvm-svn: 357821
* gn build: Merge 357768 and 357770Nico Weber2019-04-052-0/+4
| | | | llvm-svn: 357783
* gn build: Merge r357719Nico Weber2019-04-051-2/+2
| | | | llvm-svn: 357781
* gn build: Merge r357663Nico Weber2019-04-043-0/+3
| | | | llvm-svn: 357666
* gn build: Add build file for dexpNico Weber2019-04-032-2/+14
| | | | | | | | | None of check-clang-tools's tests run this, but the CMake check-clang-tools depends on the binary, so add it for consistency. Differential Revision: https://reviews.llvm.org/D60222 llvm-svn: 357624
* gn build: Add build files for clangd xpc framework codeNico Weber2019-04-033-1/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bit of a larger change since this is the first (and as far as I can tell only) place where the LLVM build produces macOS framework bundles. GN has some built-in support for this, so use that. `gn help create_bundle` has a terse description (but it's a bit outdated: `deps` must be `public_deps` and the conditionals in the example in the help aren't quite right on non-iOS). We need a new 'copy_bundle_data' tool, and since we copy the clangd.xpc bundle as bundle_data into ClangdXPC.framework it needs to be able to handle directories in addition to files. GN also insists we have a compile_xcassets tool even though it's not used. I just made that run `false`. Despite GN's support for bundles, we still need to manually create the expected symlink structure in the .framework bundle. Since this code never runs on Windows, it's safe to create the symlinks before the symlink targets exist, so we can just make the bundle depend on the steps that create the symlinks. For this to work, change the symlink script to create the symlink's containing directory if it doesn't yet exist. I locally verified that CMake and GN build create the same bundle structure. (I noticed that both builds set LC_ID_DYLIB to the pre-copy libClangdXPCLib.dylib name, but that seems to not cause any issues and it happens in the CMake build too.) (Also add an error message to clangd-xpc-test-client for when loading the dylib fails – this was useful while locally debugging this.) Differential Revision: https://reviews.llvm.org/D60130 llvm-svn: 357574
* gn build: Merge r357469Nico Weber2019-04-021-0/+1
| | | | llvm-svn: 357477
* gn build: Add build files for non-framework xpc clangd bitsNico Weber2019-04-025-10/+57
| | | | | | Differential Revision: https://reviews.llvm.org/D60124 llvm-svn: 357476
* gn build: Merge r357383Nico Weber2019-04-011-0/+1
| | | | llvm-svn: 357398
* gn build: Add build files for most clang-tools-extra unit testsNico Weber2019-03-3112-2/+286
| | | | | | Differential Revision: https://reviews.llvm.org/D60038 llvm-svn: 357369
* gn build: Merge r357340Nico Weber2019-03-311-0/+1
| | | | llvm-svn: 357358
* gn build: Merge r357326Nico Weber2019-03-312-1/+1
| | | | llvm-svn: 357357
* gn build: Merge r357248Nico Weber2019-03-291-0/+1
| | | | llvm-svn: 357261
* gn build: Merge r357259Nico Weber2019-03-292-1/+2
| | | | llvm-svn: 357260
* gn build: Add check-clang-tools to run clang-tools-extra lit testsNico Weber2019-03-295-12/+151
| | | | | | | | | | | Only runs the clang-tools-extra lit tests; not yet the unit tests. Add a build file for clangd-indexer too, since it's needed for the tests. Differential Revision: https://reviews.llvm.org/D59955 llvm-svn: 357232
* gn build: Add some build files for clangdNico Weber2019-03-285-0/+165
| | | | | | | | | | | | | | Enough to build the clangd binaries, but this is still missing build files for: - fuzzer - indexer - index/dex/dexp - benchmarks - xpc Differential Revision: https://reviews.llvm.org/D59899 llvm-svn: 357182
* gn build: Merge r357047Nico Weber2019-03-271-0/+1
| | | | llvm-svn: 357071
* gn build: Add build files for clang-include-fixer and find-all-symbolsNico Weber2019-03-275-0/+86
| | | | | | Differential Revision: https://reviews.llvm.org/D59838 llvm-svn: 357042
* gn build: Format all build filesNico Weber2019-03-264-7/+7
| | | | | | Re-ran `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`. llvm-svn: 357021
* gn build: Merge r356929 (effectively relands r353518, reverted in r353621)Nico Weber2019-03-265-6/+7
| | | | llvm-svn: 357019
* [clang-tidy] Separate the check-facing interfaceAlexander Kornienko2019-03-251-0/+1
| | | | | | | | | | | | | | | | | | | Summary: Move ClangTidyCheck to a separate header/.cpp Switch checks to #include "ClangTidyCheck.h" Mention ClangTidyCheck.h in the docs Reviewers: hokein, gribozavr, aaron.ballman Reviewed By: hokein Subscribers: mgorny, javed.absar, xazax.hun, arphaman, jdoerfert, llvm-commits, cfe-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D59714 llvm-svn: 356890
* gn build: Merge r356820Nico Weber2019-03-232-0/+9
| | | | llvm-svn: 356846
OpenPOWER on IntegriCloud