Skip to content

Commit

Permalink
[gn build] Prevent deps on HTTP requests in clang and lld at GN time
Browse files Browse the repository at this point in the history
To make sure no regressions creep in. See also discussion on
https://reviews.llvm.org/D113717

We don't want this dep in most targets, but protecting clang and lld is
a good start.
  • Loading branch information
nico committed Dec 10, 2021
1 parent 652faed commit 2586c23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
Expand Up @@ -75,6 +75,7 @@ executable("clang") {
"//llvm/lib/Transforms/Utils",
"//llvm/lib/Transforms/Vectorize",
]
assert_no_deps = [ "//llvm/lib/Debuginfod" ]
if (host_os == "mac") {
deps += [ ":write_info_plist" ]
plist = get_target_outputs(":write_info_plist")
Expand Down
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
Expand Up @@ -33,5 +33,6 @@ executable("lld") {
"//llvm/lib/Support",
"//llvm/utils/gn/build/libs/xar",
]
assert_no_deps = [ "//llvm/lib/Debuginfod" ]
sources = [ "lld.cpp" ]
}

0 comments on commit 2586c23

Please sign in to comment.