1

remove obsolete tool_srcs

This commit is contained in:
Motiejus Jakštys 2021-07-28 19:15:06 +03:00
parent 44da7f7f46
commit 14cb54fbd4

View File

@ -202,8 +202,6 @@ def zig_build_macro(absolute_path, zig_include_root):
constraint_values = target_config.constraint_values, constraint_values = target_config.constraint_values,
) )
tool_srcs = {tool: [":zig"] for tool in ["gcc", "ld", "ar"]}
cxx_builtin_include_directories = [] cxx_builtin_include_directories = []
for d in DEFAULT_INCLUDE_DIRECTORIES + target_config.includes: for d in DEFAULT_INCLUDE_DIRECTORIES + target_config.includes:
d = zig_include_root + d d = zig_include_root + d
@ -218,7 +216,6 @@ def zig_build_macro(absolute_path, zig_include_root):
continue continue
tool_path = ZIG_TOOL_PATH.format(zig_tool = path) tool_path = ZIG_TOOL_PATH.format(zig_tool = path)
absolute_tool_paths[name] = "%s/%s" % (absolute_path, tool_path) absolute_tool_paths[name] = "%s/%s" % (absolute_path, tool_path)
tool_srcs[name].append(tool_path)
zig_cc_toolchain_config( zig_cc_toolchain_config(
name = zigtarget + "_cc_toolchain_config", name = zigtarget + "_cc_toolchain_config",