1
Fork 0

remove obsolete comments and code

This commit is contained in:
Motiejus Jakštys 2021-07-28 19:13:40 +03:00
parent 4667068ceb
commit 44da7f7f46
2 changed files with 0 additions and 3 deletions

View File

@ -4,7 +4,6 @@ package(
default_visibility = ["//visibility:public"],
)
# TODO(motiejus) use json.encode() and unquote these variables with bazel 4+.
zig_build_macro(
absolute_path = {absolute_path},
zig_include_root = {zig_include_root},

View File

@ -202,7 +202,6 @@ def zig_build_macro(absolute_path, zig_include_root):
constraint_values = target_config.constraint_values,
)
compiler_srcs = [":zig"]
tool_srcs = {tool: [":zig"] for tool in ["gcc", "ld", "ar"]}
cxx_builtin_include_directories = []
@ -210,7 +209,6 @@ def zig_build_macro(absolute_path, zig_include_root):
d = zig_include_root + d
if d not in lazy_filegroups:
lazy_filegroups[d] = filegroup(name = d, srcs = native.glob([d + "/**"]))
compiler_srcs.append(lazy_filegroups[d])
cxx_builtin_include_directories.append(absolute_path + "/" + d)
absolute_tool_paths = {}