Fix config vars and auto generation

pull/36931/head
Yash Tibrewal 5 months ago
parent 5503b9b8cb
commit ee92404c35
  1. 2
      src/core/lib/config/config_vars.yaml
  2. 6
      tools/codegen/core/gen_config_vars.py

@ -66,7 +66,7 @@
type: string
prelude: |
#ifndef GPR_DEFAULT_LOG_VERBOSITY_STRING
#define GPR_DEFAULT_LOG_VERBOSITY_STRING "ERROR"
#define GPR_DEFAULT_LOG_VERBOSITY_STRING ""
#endif // !GPR_DEFAULT_LOG_VERBOSITY_STRING
default: $GPR_DEFAULT_LOG_VERBOSITY_STRING
description:

@ -219,8 +219,8 @@ with open("test/core/test_util/fuzz_config_vars.h", "w") as H:
],
)
print("#ifndef GRPC_TEST_CORE_UTIL_FUZZ_CONFIG_VARS_H", file=H)
print("#define GRPC_TEST_CORE_UTIL_FUZZ_CONFIG_VARS_H", file=H)
print("#ifndef GRPC_TEST_CORE_TEST_UTIL_FUZZ_CONFIG_VARS_H", file=H)
print("#define GRPC_TEST_CORE_TEST_UTIL_FUZZ_CONFIG_VARS_H", file=H)
print(file=H)
print("#include <grpc/support/port_platform.h>", file=H)
print(file=H)
@ -243,7 +243,7 @@ with open("test/core/test_util/fuzz_config_vars.h", "w") as H:
print(file=H)
print("} // namespace grpc_core", file=H)
print(file=H)
print("#endif // GRPC_TEST_CORE_UTIL_FUZZ_CONFIG_VARS_H", file=H)
print("#endif // GRPC_TEST_CORE_TEST_UTIL_FUZZ_CONFIG_VARS_H", file=H)
with open("test/core/test_util/fuzz_config_vars.cc", "w") as C:
put_copyright(C)

Loading…
Cancel
Save