Skip to content

Commit

Permalink
Clean usages of grep_includes
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 545634557
  • Loading branch information
kotlaja authored and swiple-rules-gardener committed Jul 5, 2023
1 parent 631452a commit 8e4e03c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions swift/internal/linking.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ def create_linking_context_from_compilation_outputs(
additional_inputs = additional_inputs,
disallow_static_libraries = False,
disallow_dynamic_library = True,
grep_includes = None,
)

def malloc_linking_context(ctx):
Expand All @@ -331,7 +330,6 @@ def register_link_binary_action(
compilation_outputs,
deps,
feature_configuration,
grep_includes,
label,
module_contexts = [],
output_type,
Expand All @@ -355,7 +353,6 @@ def register_link_binary_action(
deps: A list of targets representing additional libraries that will be
passed to the linker.
feature_configuration: The Swift feature configuration.
grep_includes: Used internally only.
label: The label of the target being linked, whose name is used to
derive the output artifact.
module_contexts: A list of module contexts resulting from the
Expand Down Expand Up @@ -412,7 +409,6 @@ def register_link_binary_action(
feature_configuration = get_cc_feature_configuration(
feature_configuration,
),
grep_includes = grep_includes,
name = label.name,
user_link_flags = user_link_flags,
linking_contexts = linking_contexts,
Expand Down
1 change: 0 additions & 1 deletion swift/swift_binary.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def _swift_binary_impl(ctx):
feature_configuration = feature_configuration,
compilation_outputs = compilation_outputs,
deps = ctx.attr.deps,
grep_includes = ctx.file._grep_includes,
label = ctx.label,
module_contexts = module_contexts,
output_type = "executable",
Expand Down
1 change: 0 additions & 1 deletion swift/swift_compiler_plugin.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ def _swift_compiler_plugin_impl(ctx):
feature_configuration = feature_configuration,
compilation_outputs = compilation_outputs,
deps = deps,
grep_includes = ctx.file._grep_includes,
label = ctx.label,
module_contexts = module_contexts,
output_type = "executable",
Expand Down
1 change: 0 additions & 1 deletion swift/swift_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ def _swift_test_impl(ctx):
compilation_outputs = compilation_outputs,
deps = deps + additional_link_deps,
feature_configuration = feature_configuration,
grep_includes = ctx.file._grep_includes,
label = ctx.label,
module_contexts = module_contexts,
output_type = "executable",
Expand Down

1 comment on commit 8e4e03c

@brentleyjones
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.