[build] Make auto-deps the default (#30297)

* [build] Make auto-deps the default

* Automated change: Fix sanity tests

* update

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
pull/29998/head^2
Craig Tiller 3 years ago committed by GitHub
parent f0edd0e44a
commit 399050d0e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 396
      BUILD
  2. 5
      tools/distrib/fix_build_deps.py

396
BUILD

File diff suppressed because it is too large Load Diff

@ -261,7 +261,7 @@ def grpc_cc_library(name,
global num_cc_libraries global num_cc_libraries
global num_opted_out_cc_libraries global num_opted_out_cc_libraries
num_cc_libraries += 1 num_cc_libraries += 1
if select_deps or 'nofixdeps' in tags or 'grpc-autodeps' not in tags: if select_deps or 'nofixdeps' in tags:
if args.whats_left and not select_deps and 'nofixdeps' not in tags: if args.whats_left and not select_deps and 'nofixdeps' not in tags:
num_opted_out_cc_libraries += 1 num_opted_out_cc_libraries += 1
print("Not opted in: {}".format(name)) print("Not opted in: {}".format(name))
@ -494,7 +494,8 @@ def make_library(library):
# assume a system include # assume a system include
continue continue
print("# ERROR: can't categorize header: %s" % hdr) print("# ERROR: can't categorize header: %s used by %s" %
(hdr, library))
error = True error = True
if library in needs_codegen_base_src: if library in needs_codegen_base_src:

Loading…
Cancel
Save