Merge pull request #13964 from jtattermusch/reintroduce_13700

Reintroduce check_sources_and_headers optimization
pull/13966/head
Jan Tattermusch 7 years ago committed by GitHub
commit 2eb22fd67d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      tools/run_tests/sanity/check_sources_and_headers.py

@ -69,13 +69,10 @@ target_headers_transitive = get_headers_transitive()
def target_has_header(target, name):
if name.startswith('absl/'): return True
# print target['name'], name
if name in target['headers']:
if name in target_headers_transitive[target['name']]:
return True
if name.startswith('absl/'):
return True
for dep in target['deps']:
if target_has_header(get_target(dep), name):
return True
if name in [
'src/core/lib/profiling/stap_probes.h',
'src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h'

Loading…
Cancel
Save