[bazel] Add Presubmit exception for public.bzl
Change-Id: I75a0adb334dc23d81e5861112e24d36ed0ddf4af Reviewed-on: https://skia-review.googlesource.com/c/skia/+/546497 Reviewed-by: John Stiles <johnstiles@google.com>
This commit is contained in:
parent
d39593de31
commit
d0519f1219
@ -356,7 +356,8 @@ def _CheckBuildifier(input_api, output_api):
|
||||
for affected_file in input_api.AffectedFiles(include_deletes=False):
|
||||
affected_file_path = affected_file.LocalPath()
|
||||
if affected_file_path.endswith('BUILD.bazel') or affected_file_path.endswith('.bzl'):
|
||||
files.append(affected_file_path)
|
||||
if not affected_file_path.endswith('public.bzl'):
|
||||
files.append(affected_file_path)
|
||||
if not files:
|
||||
return []
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user