aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/sanity/check_sources_and_headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/sanity/check_sources_and_headers.py')
-rwxr-xr-xtools/run_tests/sanity/check_sources_and_headers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/sanity/check_sources_and_headers.py b/tools/run_tests/sanity/check_sources_and_headers.py
index ec0876ece2..b733ba173f 100755
--- a/tools/run_tests/sanity/check_sources_and_headers.py
+++ b/tools/run_tests/sanity/check_sources_and_headers.py
@@ -75,14 +75,14 @@ for target in js:
for line in src:
m = re_inc1.match(line)
if m:
- if not target_has_header(target, m.group(1)):
+ if not target_has_header(target, m.group(1)) and not target['is_filegroup']:
print (
'target %s (%s) does not name header %s as a dependency' % (
target['name'], fn, m.group(1)))
errors += 1
m = re_inc2.match(line)
if m:
- if not target_has_header(target, 'include/' + m.group(1)):
+ if not target_has_header(target, 'include/' + m.group(1)) and not target['is_filegroup']:
print (
'target %s (%s) does not name header %s as a dependency' % (
target['name'], fn, m.group(1)))