File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
utils/bazel/third_party_build Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
# See https://llvm.org/LICENSE.txt for license information.
3
3
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
4
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
5
- load("@bazel_skylib//rules:expand_template .bzl", "expand_template ")
5
+ load("@bazel_skylib//rules:copy_file .bzl", "copy_file ")
6
6
7
7
package(
8
8
default_visibility = ["//visibility:public"],
@@ -20,12 +20,12 @@ config_setting(
20
20
flag_values = {":llvm_enable_zlib": "true"},
21
21
)
22
22
23
- genrule (
23
+ copy_file (
24
24
# The input template is identical to the CMake output.
25
25
name = "zconf_gen",
26
- srcs = [ "zconf.h.in"] ,
27
- outs = [ "zconf.h"] ,
28
- cmd = "cp $(SRCS) $(OUTS)" ,
26
+ src = "zconf.h.in",
27
+ out = "zconf.h",
28
+ allow_symlink = True ,
29
29
)
30
30
31
31
cc_library(
You can’t perform that action at this time.
0 commit comments