Fix sanity check

pull/7451/head
Yuchen Zeng 9 years ago
parent 1318479011
commit dd5b9a8086
  1. 3
      build.yaml
  2. 3
      tools/run_tests/sanity/check_sources_and_headers.py
  3. 5
      tools/run_tests/sources_and_headers.json

@ -776,6 +776,8 @@ filegroups:
src: src:
- src/cpp/ext/reflection.grpc.pb.cc - src/cpp/ext/reflection.grpc.pb.cc
- src/cpp/ext/reflection.pb.cc - src/cpp/ext/reflection.pb.cc
uses:
- grpc++_codegen_proto
libs: libs:
- name: gpr - name: gpr
build: all build: all
@ -977,7 +979,6 @@ libs:
- grpc++ - grpc++
filegroups: filegroups:
- grpc++_reflection_proto - grpc++_reflection_proto
- grpc++_codegen_proto
- name: grpc++_reflection_codegen - name: grpc++_reflection_codegen
build: private build: private
language: c++ language: c++

@ -55,7 +55,8 @@ def target_has_header(target, name):
for dep in target['deps']: for dep in target['deps']:
if target_has_header(get_target(dep), name): if target_has_header(get_target(dep), name):
return True return True
if name == 'src/core/lib/profiling/stap_probes.h': if name in ['src/core/lib/profiling/stap_probes.h',
'src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h']:
return True return True
return False return False

@ -4360,7 +4360,6 @@
{ {
"deps": [ "deps": [
"grpc++", "grpc++",
"grpc++_codegen_proto",
"grpc++_reflection_proto" "grpc++_reflection_proto"
], ],
"headers": [ "headers": [
@ -6760,7 +6759,9 @@
"type": "filegroup" "type": "filegroup"
}, },
{ {
"deps": [], "deps": [
"grpc++_codegen_proto"
],
"headers": [ "headers": [
"include/grpc++/ext/reflection.grpc.pb.h", "include/grpc++/ext/reflection.grpc.pb.h",
"include/grpc++/ext/reflection.pb.h" "include/grpc++/ext/reflection.pb.h"

Loading…
Cancel
Save