Skip to content

Commit

Permalink
Make grep_includes optional in cc_common
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 545225277
Change-Id: I20c267cc3fd999be1d00986a4cca97df15bc0bf1
  • Loading branch information
kotlaja authored and copybara-github committed Jul 3, 2023
1 parent cf7e6df commit 05e3b7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/starlark/builtins_bzl/common/cc/cc_common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,13 @@ def _register_linkstamp_compile_action(
actions,
cc_toolchain,
feature_configuration,
grep_includes,
source_file,
output_file,
compilation_inputs,
inputs_for_validation,
label_replacement,
output_replacement):
output_replacement,
grep_includes = None):
cc_common_internal.check_private_api(allowlist = _PRIVATE_STARLARKIFICATION_ALLOWLIST)
return cc_common_internal.register_linkstamp_compile_action(
actions = actions,
Expand Down Expand Up @@ -786,13 +786,13 @@ def _create_compile_action(
actions,
cc_toolchain,
feature_configuration,
grep_includes,
source_file,
output_file,
variables,
action_name,
compilation_context,
additional_inputs = None,
grep_includes = None,
additional_outputs = []):
cc_common_internal.check_private_api(allowlist = _CREATE_COMPILE_ACTION_API_ALLOWLISTED_PACKAGES)
return cc_common_internal.create_compile_action(
Expand Down

0 comments on commit 05e3b7b

Please sign in to comment.