Move cmdline and subprocess from public gpr to test/core/util

pull/14190/head
Vijay Pai 7 years ago
parent 5e82dddc05
commit 8a99fdb57e
  1. 5
      BUILD
  2. 78
      CMakeLists.txt
  3. 113
      Makefile
  4. 37
      build.yaml
  5. 3
      config.m4
  6. 3
      config.w32
  7. 2
      gRPC-C++.podspec
  8. 10
      gRPC-Core.podspec
  9. 14
      grpc.def
  10. 5
      grpc.gemspec
  11. 9
      grpc.gyp
  12. 2
      include/grpc/module.modulemap
  13. 5
      package.xml
  14. 3
      src/python/grpcio/grpc_core_dependencies.py
  15. 28
      src/ruby/ext/grpc/rb_grpc_imports.generated.c
  16. 44
      src/ruby/ext/grpc/rb_grpc_imports.generated.h
  17. 2
      test/core/bad_ssl/bad_ssl_test.cc
  18. 2
      test/core/bad_ssl/server_common.cc
  19. 2
      test/core/fling/client.cc
  20. 3
      test/core/fling/fling_stream_test.cc
  21. 3
      test/core/fling/fling_test.cc
  22. 2
      test/core/fling/server.cc
  23. 10
      test/core/gpr/BUILD
  24. 3
      test/core/http/httpcli_test.cc
  25. 3
      test/core/http/httpscli_test.cc
  26. 2
      test/core/json/json_rewrite.cc
  27. 3
      test/core/memory_usage/client.cc
  28. 3
      test/core/memory_usage/memory_usage_test.cc
  29. 2
      test/core/memory_usage/server.cc
  30. 2
      test/core/network_benchmarks/low_level_ping_pong.cc
  31. 3
      test/core/security/BUILD
  32. 3
      test/core/security/create_jwt.cc
  33. 2
      test/core/security/fetch_oauth2.cc
  34. 2
      test/core/security/print_google_default_creds_token.cc
  35. 2
      test/core/security/verify_jwt.cc
  36. 16
      test/core/surface/public_headers_must_be_c89.c
  37. 15
      test/core/util/BUILD
  38. 2
      test/core/util/cmdline.cc
  39. 30
      test/core/util/cmdline.h
  40. 4
      test/core/util/cmdline_test.cc
  41. 16
      test/core/util/subprocess.h
  42. 4
      test/core/util/subprocess_posix.cc
  43. 2
      test/core/util/subprocess_windows.cc
  44. 2
      test/cpp/util/BUILD
  45. 2
      test/cpp/util/subprocess.cc
  46. 2
      tools/doxygen/Doxyfile.c++
  47. 2
      tools/doxygen/Doxyfile.c++.internal
  48. 2
      tools/doxygen/Doxyfile.core
  49. 5
      tools/doxygen/Doxyfile.core.internal
  50. 61
      tools/run_tests/generated/sources_and_headers.json
  51. 48
      tools/run_tests/generated/tests.json

@ -67,14 +67,12 @@ GPR_PUBLIC_HDRS = [
"include/grpc/support/atm_gcc_sync.h", "include/grpc/support/atm_gcc_sync.h",
"include/grpc/support/atm_windows.h", "include/grpc/support/atm_windows.h",
"include/grpc/support/avl.h", "include/grpc/support/avl.h",
"include/grpc/support/cmdline.h",
"include/grpc/support/cpu.h", "include/grpc/support/cpu.h",
"include/grpc/support/host_port.h", "include/grpc/support/host_port.h",
"include/grpc/support/log.h", "include/grpc/support/log.h",
"include/grpc/support/log_windows.h", "include/grpc/support/log_windows.h",
"include/grpc/support/port_platform.h", "include/grpc/support/port_platform.h",
"include/grpc/support/string_util.h", "include/grpc/support/string_util.h",
"include/grpc/support/subprocess.h",
"include/grpc/support/sync.h", "include/grpc/support/sync.h",
"include/grpc/support/sync_custom.h", "include/grpc/support/sync_custom.h",
"include/grpc/support/sync_generic.h", "include/grpc/support/sync_generic.h",
@ -458,7 +456,6 @@ grpc_cc_library(
"src/core/lib/gpr/arena.cc", "src/core/lib/gpr/arena.cc",
"src/core/lib/gpr/atm.cc", "src/core/lib/gpr/atm.cc",
"src/core/lib/gpr/avl.cc", "src/core/lib/gpr/avl.cc",
"src/core/lib/gpr/cmdline.cc",
"src/core/lib/gpr/cpu_iphone.cc", "src/core/lib/gpr/cpu_iphone.cc",
"src/core/lib/gpr/cpu_linux.cc", "src/core/lib/gpr/cpu_linux.cc",
"src/core/lib/gpr/cpu_posix.cc", "src/core/lib/gpr/cpu_posix.cc",
@ -479,8 +476,6 @@ grpc_cc_library(
"src/core/lib/gpr/string_posix.cc", "src/core/lib/gpr/string_posix.cc",
"src/core/lib/gpr/string_util_windows.cc", "src/core/lib/gpr/string_util_windows.cc",
"src/core/lib/gpr/string_windows.cc", "src/core/lib/gpr/string_windows.cc",
"src/core/lib/gpr/subprocess_posix.cc",
"src/core/lib/gpr/subprocess_windows.cc",
"src/core/lib/gpr/sync.cc", "src/core/lib/gpr/sync.cc",
"src/core/lib/gpr/sync_posix.cc", "src/core/lib/gpr/sync_posix.cc",
"src/core/lib/gpr/sync_windows.cc", "src/core/lib/gpr/sync_windows.cc",

@ -222,6 +222,7 @@ add_dependencies(buildtests_c channel_create_test)
add_dependencies(buildtests_c chttp2_hpack_encoder_test) add_dependencies(buildtests_c chttp2_hpack_encoder_test)
add_dependencies(buildtests_c chttp2_stream_map_test) add_dependencies(buildtests_c chttp2_stream_map_test)
add_dependencies(buildtests_c chttp2_varint_test) add_dependencies(buildtests_c chttp2_varint_test)
add_dependencies(buildtests_c cmdline_test)
add_dependencies(buildtests_c combiner_test) add_dependencies(buildtests_c combiner_test)
add_dependencies(buildtests_c compression_test) add_dependencies(buildtests_c compression_test)
add_dependencies(buildtests_c concurrent_connectivity_test) add_dependencies(buildtests_c concurrent_connectivity_test)
@ -258,7 +259,6 @@ if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_POSIX)
add_dependencies(buildtests_c goaway_server_test) add_dependencies(buildtests_c goaway_server_test)
endif() endif()
add_dependencies(buildtests_c gpr_avl_test) add_dependencies(buildtests_c gpr_avl_test)
add_dependencies(buildtests_c gpr_cmdline_test)
add_dependencies(buildtests_c gpr_cpu_test) add_dependencies(buildtests_c gpr_cpu_test)
add_dependencies(buildtests_c gpr_env_test) add_dependencies(buildtests_c gpr_env_test)
add_dependencies(buildtests_c gpr_host_port_test) add_dependencies(buildtests_c gpr_host_port_test)
@ -628,7 +628,6 @@ add_library(gpr
src/core/lib/gpr/arena.cc src/core/lib/gpr/arena.cc
src/core/lib/gpr/atm.cc src/core/lib/gpr/atm.cc
src/core/lib/gpr/avl.cc src/core/lib/gpr/avl.cc
src/core/lib/gpr/cmdline.cc
src/core/lib/gpr/cpu_iphone.cc src/core/lib/gpr/cpu_iphone.cc
src/core/lib/gpr/cpu_linux.cc src/core/lib/gpr/cpu_linux.cc
src/core/lib/gpr/cpu_posix.cc src/core/lib/gpr/cpu_posix.cc
@ -649,8 +648,6 @@ add_library(gpr
src/core/lib/gpr/string_posix.cc src/core/lib/gpr/string_posix.cc
src/core/lib/gpr/string_util_windows.cc src/core/lib/gpr/string_util_windows.cc
src/core/lib/gpr/string_windows.cc src/core/lib/gpr/string_windows.cc
src/core/lib/gpr/subprocess_posix.cc
src/core/lib/gpr/subprocess_windows.cc
src/core/lib/gpr/sync.cc src/core/lib/gpr/sync.cc
src/core/lib/gpr/sync_posix.cc src/core/lib/gpr/sync_posix.cc
src/core/lib/gpr/sync_windows.cc src/core/lib/gpr/sync_windows.cc
@ -704,14 +701,12 @@ foreach(_hdr
include/grpc/support/atm_gcc_sync.h include/grpc/support/atm_gcc_sync.h
include/grpc/support/atm_windows.h include/grpc/support/atm_windows.h
include/grpc/support/avl.h include/grpc/support/avl.h
include/grpc/support/cmdline.h
include/grpc/support/cpu.h include/grpc/support/cpu.h
include/grpc/support/host_port.h include/grpc/support/host_port.h
include/grpc/support/log.h include/grpc/support/log.h
include/grpc/support/log_windows.h include/grpc/support/log_windows.h
include/grpc/support/port_platform.h include/grpc/support/port_platform.h
include/grpc/support/string_util.h include/grpc/support/string_util.h
include/grpc/support/subprocess.h
include/grpc/support/sync.h include/grpc/support/sync.h
include/grpc/support/sync_custom.h include/grpc/support/sync_custom.h
include/grpc/support/sync_generic.h include/grpc/support/sync_generic.h
@ -1448,6 +1443,7 @@ add_library(grpc_test_util
test/core/end2end/fixtures/http_proxy_fixture.cc test/core/end2end/fixtures/http_proxy_fixture.cc
test/core/end2end/fixtures/proxy.cc test/core/end2end/fixtures/proxy.cc
test/core/iomgr/endpoint_tests.cc test/core/iomgr/endpoint_tests.cc
test/core/util/cmdline.cc
test/core/util/debugger_macros.cc test/core/util/debugger_macros.cc
test/core/util/grpc_profiler.cc test/core/util/grpc_profiler.cc
test/core/util/histogram.cc test/core/util/histogram.cc
@ -1459,6 +1455,8 @@ add_library(grpc_test_util
test/core/util/port_isolated_runtime_environment.cc test/core/util/port_isolated_runtime_environment.cc
test/core/util/port_server_client.cc test/core/util/port_server_client.cc
test/core/util/slice_splitter.cc test/core/util/slice_splitter.cc
test/core/util/subprocess_posix.cc
test/core/util/subprocess_windows.cc
test/core/util/tracer_util.cc test/core/util/tracer_util.cc
test/core/util/trickle_endpoint.cc test/core/util/trickle_endpoint.cc
src/core/lib/backoff/backoff.cc src/core/lib/backoff/backoff.cc
@ -1717,6 +1715,7 @@ add_library(grpc_test_util_unsecure
test/core/end2end/fixtures/http_proxy_fixture.cc test/core/end2end/fixtures/http_proxy_fixture.cc
test/core/end2end/fixtures/proxy.cc test/core/end2end/fixtures/proxy.cc
test/core/iomgr/endpoint_tests.cc test/core/iomgr/endpoint_tests.cc
test/core/util/cmdline.cc
test/core/util/debugger_macros.cc test/core/util/debugger_macros.cc
test/core/util/grpc_profiler.cc test/core/util/grpc_profiler.cc
test/core/util/histogram.cc test/core/util/histogram.cc
@ -1728,6 +1727,8 @@ add_library(grpc_test_util_unsecure
test/core/util/port_isolated_runtime_environment.cc test/core/util/port_isolated_runtime_environment.cc
test/core/util/port_server_client.cc test/core/util/port_server_client.cc
test/core/util/slice_splitter.cc test/core/util/slice_splitter.cc
test/core/util/subprocess_posix.cc
test/core/util/subprocess_windows.cc
test/core/util/tracer_util.cc test/core/util/tracer_util.cc
test/core/util/trickle_endpoint.cc test/core/util/trickle_endpoint.cc
src/core/lib/backoff/backoff.cc src/core/lib/backoff/backoff.cc
@ -2498,14 +2499,12 @@ foreach(_hdr
include/grpc/support/atm_gcc_sync.h include/grpc/support/atm_gcc_sync.h
include/grpc/support/atm_windows.h include/grpc/support/atm_windows.h
include/grpc/support/avl.h include/grpc/support/avl.h
include/grpc/support/cmdline.h
include/grpc/support/cpu.h include/grpc/support/cpu.h
include/grpc/support/host_port.h include/grpc/support/host_port.h
include/grpc/support/log.h include/grpc/support/log.h
include/grpc/support/log_windows.h include/grpc/support/log_windows.h
include/grpc/support/port_platform.h include/grpc/support/port_platform.h
include/grpc/support/string_util.h include/grpc/support/string_util.h
include/grpc/support/subprocess.h
include/grpc/support/sync.h include/grpc/support/sync.h
include/grpc/support/sync_custom.h include/grpc/support/sync_custom.h
include/grpc/support/sync_generic.h include/grpc/support/sync_generic.h
@ -2982,14 +2981,12 @@ foreach(_hdr
include/grpc/support/atm_gcc_sync.h include/grpc/support/atm_gcc_sync.h
include/grpc/support/atm_windows.h include/grpc/support/atm_windows.h
include/grpc/support/avl.h include/grpc/support/avl.h
include/grpc/support/cmdline.h
include/grpc/support/cpu.h include/grpc/support/cpu.h
include/grpc/support/host_port.h include/grpc/support/host_port.h
include/grpc/support/log.h include/grpc/support/log.h
include/grpc/support/log_windows.h include/grpc/support/log_windows.h
include/grpc/support/port_platform.h include/grpc/support/port_platform.h
include/grpc/support/string_util.h include/grpc/support/string_util.h
include/grpc/support/subprocess.h
include/grpc/support/sync.h include/grpc/support/sync.h
include/grpc/support/sync_custom.h include/grpc/support/sync_custom.h
include/grpc/support/sync_generic.h include/grpc/support/sync_generic.h
@ -3712,14 +3709,12 @@ foreach(_hdr
include/grpc/support/atm_gcc_sync.h include/grpc/support/atm_gcc_sync.h
include/grpc/support/atm_windows.h include/grpc/support/atm_windows.h
include/grpc/support/avl.h include/grpc/support/avl.h
include/grpc/support/cmdline.h
include/grpc/support/cpu.h include/grpc/support/cpu.h
include/grpc/support/host_port.h include/grpc/support/host_port.h
include/grpc/support/log.h include/grpc/support/log.h
include/grpc/support/log_windows.h include/grpc/support/log_windows.h
include/grpc/support/port_platform.h include/grpc/support/port_platform.h
include/grpc/support/string_util.h include/grpc/support/string_util.h
include/grpc/support/subprocess.h
include/grpc/support/sync.h include/grpc/support/sync.h
include/grpc/support/sync_custom.h include/grpc/support/sync_custom.h
include/grpc/support/sync_generic.h include/grpc/support/sync_generic.h
@ -5123,6 +5118,32 @@ target_link_libraries(chttp2_varint_test
endif (gRPC_BUILD_TESTS) endif (gRPC_BUILD_TESTS)
if (gRPC_BUILD_TESTS) if (gRPC_BUILD_TESTS)
add_executable(cmdline_test
test/core/util/cmdline_test.cc
)
target_include_directories(cmdline_test
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
)
target_link_libraries(cmdline_test
${_gRPC_ALLTARGETS_LIBRARIES}
gpr
gpr_test_util
grpc_test_util
)
endif (gRPC_BUILD_TESTS)
if (gRPC_BUILD_TESTS)
add_executable(combiner_test add_executable(combiner_test
test/core/iomgr/combiner_test.cc test/core/iomgr/combiner_test.cc
) )
@ -5677,31 +5698,6 @@ target_link_libraries(gpr_avl_test
endif (gRPC_BUILD_TESTS) endif (gRPC_BUILD_TESTS)
if (gRPC_BUILD_TESTS) if (gRPC_BUILD_TESTS)
add_executable(gpr_cmdline_test
test/core/gpr/cmdline_test.cc
)
target_include_directories(gpr_cmdline_test
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include
PRIVATE ${_gRPC_SSL_INCLUDE_DIR}
PRIVATE ${_gRPC_PROTOBUF_INCLUDE_DIR}
PRIVATE ${_gRPC_ZLIB_INCLUDE_DIR}
PRIVATE ${_gRPC_BENCHMARK_INCLUDE_DIR}
PRIVATE ${_gRPC_CARES_INCLUDE_DIR}
PRIVATE ${_gRPC_GFLAGS_INCLUDE_DIR}
)
target_link_libraries(gpr_cmdline_test
${_gRPC_ALLTARGETS_LIBRARIES}
gpr_test_util
gpr
)
endif (gRPC_BUILD_TESTS)
if (gRPC_BUILD_TESTS)
add_executable(gpr_cpu_test add_executable(gpr_cpu_test
test/core/gpr/cpu_test.cc test/core/gpr/cpu_test.cc
) )
@ -6261,7 +6257,9 @@ target_include_directories(grpc_create_jwt
target_link_libraries(grpc_create_jwt target_link_libraries(grpc_create_jwt
${_gRPC_SSL_LIBRARIES} ${_gRPC_SSL_LIBRARIES}
${_gRPC_ALLTARGETS_LIBRARIES} ${_gRPC_ALLTARGETS_LIBRARIES}
grpc_test_util
grpc grpc
gpr_test_util
gpr gpr
) )
@ -6430,7 +6428,9 @@ target_include_directories(grpc_print_google_default_creds_token
target_link_libraries(grpc_print_google_default_creds_token target_link_libraries(grpc_print_google_default_creds_token
${_gRPC_ALLTARGETS_LIBRARIES} ${_gRPC_ALLTARGETS_LIBRARIES}
grpc_test_util
grpc grpc
gpr_test_util
gpr gpr
) )
@ -6516,7 +6516,9 @@ target_include_directories(grpc_verify_jwt
target_link_libraries(grpc_verify_jwt target_link_libraries(grpc_verify_jwt
${_gRPC_ALLTARGETS_LIBRARIES} ${_gRPC_ALLTARGETS_LIBRARIES}
grpc_test_util
grpc grpc
gpr_test_util
gpr gpr
) )
@ -6886,7 +6888,9 @@ target_include_directories(json_rewrite
target_link_libraries(json_rewrite target_link_libraries(json_rewrite
${_gRPC_ALLTARGETS_LIBRARIES} ${_gRPC_ALLTARGETS_LIBRARIES}
grpc_test_util
grpc grpc
gpr_test_util
gpr gpr
) )

@ -966,6 +966,7 @@ chttp2_hpack_encoder_test: $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test
chttp2_stream_map_test: $(BINDIR)/$(CONFIG)/chttp2_stream_map_test chttp2_stream_map_test: $(BINDIR)/$(CONFIG)/chttp2_stream_map_test
chttp2_varint_test: $(BINDIR)/$(CONFIG)/chttp2_varint_test chttp2_varint_test: $(BINDIR)/$(CONFIG)/chttp2_varint_test
client_fuzzer: $(BINDIR)/$(CONFIG)/client_fuzzer client_fuzzer: $(BINDIR)/$(CONFIG)/client_fuzzer
cmdline_test: $(BINDIR)/$(CONFIG)/cmdline_test
combiner_test: $(BINDIR)/$(CONFIG)/combiner_test combiner_test: $(BINDIR)/$(CONFIG)/combiner_test
compression_test: $(BINDIR)/$(CONFIG)/compression_test compression_test: $(BINDIR)/$(CONFIG)/compression_test
concurrent_connectivity_test: $(BINDIR)/$(CONFIG)/concurrent_connectivity_test concurrent_connectivity_test: $(BINDIR)/$(CONFIG)/concurrent_connectivity_test
@ -986,7 +987,6 @@ fling_stream_test: $(BINDIR)/$(CONFIG)/fling_stream_test
fling_test: $(BINDIR)/$(CONFIG)/fling_test fling_test: $(BINDIR)/$(CONFIG)/fling_test
goaway_server_test: $(BINDIR)/$(CONFIG)/goaway_server_test goaway_server_test: $(BINDIR)/$(CONFIG)/goaway_server_test
gpr_avl_test: $(BINDIR)/$(CONFIG)/gpr_avl_test gpr_avl_test: $(BINDIR)/$(CONFIG)/gpr_avl_test
gpr_cmdline_test: $(BINDIR)/$(CONFIG)/gpr_cmdline_test
gpr_cpu_test: $(BINDIR)/$(CONFIG)/gpr_cpu_test gpr_cpu_test: $(BINDIR)/$(CONFIG)/gpr_cpu_test
gpr_env_test: $(BINDIR)/$(CONFIG)/gpr_env_test gpr_env_test: $(BINDIR)/$(CONFIG)/gpr_env_test
gpr_host_port_test: $(BINDIR)/$(CONFIG)/gpr_host_port_test gpr_host_port_test: $(BINDIR)/$(CONFIG)/gpr_host_port_test
@ -1369,6 +1369,7 @@ buildtests_c: privatelibs_c \
$(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test \ $(BINDIR)/$(CONFIG)/chttp2_hpack_encoder_test \
$(BINDIR)/$(CONFIG)/chttp2_stream_map_test \ $(BINDIR)/$(CONFIG)/chttp2_stream_map_test \
$(BINDIR)/$(CONFIG)/chttp2_varint_test \ $(BINDIR)/$(CONFIG)/chttp2_varint_test \
$(BINDIR)/$(CONFIG)/cmdline_test \
$(BINDIR)/$(CONFIG)/combiner_test \ $(BINDIR)/$(CONFIG)/combiner_test \
$(BINDIR)/$(CONFIG)/compression_test \ $(BINDIR)/$(CONFIG)/compression_test \
$(BINDIR)/$(CONFIG)/concurrent_connectivity_test \ $(BINDIR)/$(CONFIG)/concurrent_connectivity_test \
@ -1389,7 +1390,6 @@ buildtests_c: privatelibs_c \
$(BINDIR)/$(CONFIG)/fling_test \ $(BINDIR)/$(CONFIG)/fling_test \
$(BINDIR)/$(CONFIG)/goaway_server_test \ $(BINDIR)/$(CONFIG)/goaway_server_test \
$(BINDIR)/$(CONFIG)/gpr_avl_test \ $(BINDIR)/$(CONFIG)/gpr_avl_test \
$(BINDIR)/$(CONFIG)/gpr_cmdline_test \
$(BINDIR)/$(CONFIG)/gpr_cpu_test \ $(BINDIR)/$(CONFIG)/gpr_cpu_test \
$(BINDIR)/$(CONFIG)/gpr_env_test \ $(BINDIR)/$(CONFIG)/gpr_env_test \
$(BINDIR)/$(CONFIG)/gpr_host_port_test \ $(BINDIR)/$(CONFIG)/gpr_host_port_test \
@ -1806,6 +1806,8 @@ test_c: buildtests_c
$(Q) $(BINDIR)/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 ) $(Q) $(BINDIR)/$(CONFIG)/chttp2_stream_map_test || ( echo test chttp2_stream_map_test failed ; exit 1 )
$(E) "[RUN] Testing chttp2_varint_test" $(E) "[RUN] Testing chttp2_varint_test"
$(Q) $(BINDIR)/$(CONFIG)/chttp2_varint_test || ( echo test chttp2_varint_test failed ; exit 1 ) $(Q) $(BINDIR)/$(CONFIG)/chttp2_varint_test || ( echo test chttp2_varint_test failed ; exit 1 )
$(E) "[RUN] Testing cmdline_test"
$(Q) $(BINDIR)/$(CONFIG)/cmdline_test || ( echo test cmdline_test failed ; exit 1 )
$(E) "[RUN] Testing combiner_test" $(E) "[RUN] Testing combiner_test"
$(Q) $(BINDIR)/$(CONFIG)/combiner_test || ( echo test combiner_test failed ; exit 1 ) $(Q) $(BINDIR)/$(CONFIG)/combiner_test || ( echo test combiner_test failed ; exit 1 )
$(E) "[RUN] Testing compression_test" $(E) "[RUN] Testing compression_test"
@ -1842,8 +1844,6 @@ test_c: buildtests_c
$(Q) $(BINDIR)/$(CONFIG)/goaway_server_test || ( echo test goaway_server_test failed ; exit 1 ) $(Q) $(BINDIR)/$(CONFIG)/goaway_server_test || ( echo test goaway_server_test failed ; exit 1 )
$(E) "[RUN] Testing gpr_avl_test" $(E) "[RUN] Testing gpr_avl_test"
$(Q) $(BINDIR)/$(CONFIG)/gpr_avl_test || ( echo test gpr_avl_test failed ; exit 1 ) $(Q) $(BINDIR)/$(CONFIG)/gpr_avl_test || ( echo test gpr_avl_test failed ; exit 1 )
$(E) "[RUN] Testing gpr_cmdline_test"
$(Q) $(BINDIR)/$(CONFIG)/gpr_cmdline_test || ( echo test gpr_cmdline_test failed ; exit 1 )
$(E) "[RUN] Testing gpr_cpu_test" $(E) "[RUN] Testing gpr_cpu_test"
$(Q) $(BINDIR)/$(CONFIG)/gpr_cpu_test || ( echo test gpr_cpu_test failed ; exit 1 ) $(Q) $(BINDIR)/$(CONFIG)/gpr_cpu_test || ( echo test gpr_cpu_test failed ; exit 1 )
$(E) "[RUN] Testing gpr_env_test" $(E) "[RUN] Testing gpr_env_test"
@ -2849,7 +2849,6 @@ LIBGPR_SRC = \
src/core/lib/gpr/arena.cc \ src/core/lib/gpr/arena.cc \
src/core/lib/gpr/atm.cc \ src/core/lib/gpr/atm.cc \
src/core/lib/gpr/avl.cc \ src/core/lib/gpr/avl.cc \
src/core/lib/gpr/cmdline.cc \
src/core/lib/gpr/cpu_iphone.cc \ src/core/lib/gpr/cpu_iphone.cc \
src/core/lib/gpr/cpu_linux.cc \ src/core/lib/gpr/cpu_linux.cc \
src/core/lib/gpr/cpu_posix.cc \ src/core/lib/gpr/cpu_posix.cc \
@ -2870,8 +2869,6 @@ LIBGPR_SRC = \
src/core/lib/gpr/string_posix.cc \ src/core/lib/gpr/string_posix.cc \
src/core/lib/gpr/string_util_windows.cc \ src/core/lib/gpr/string_util_windows.cc \
src/core/lib/gpr/string_windows.cc \ src/core/lib/gpr/string_windows.cc \
src/core/lib/gpr/subprocess_posix.cc \
src/core/lib/gpr/subprocess_windows.cc \
src/core/lib/gpr/sync.cc \ src/core/lib/gpr/sync.cc \
src/core/lib/gpr/sync_posix.cc \ src/core/lib/gpr/sync_posix.cc \
src/core/lib/gpr/sync_windows.cc \ src/core/lib/gpr/sync_windows.cc \
@ -2897,14 +2894,12 @@ PUBLIC_HEADERS_C += \
include/grpc/support/atm_gcc_sync.h \ include/grpc/support/atm_gcc_sync.h \
include/grpc/support/atm_windows.h \ include/grpc/support/atm_windows.h \
include/grpc/support/avl.h \ include/grpc/support/avl.h \
include/grpc/support/cmdline.h \
include/grpc/support/cpu.h \ include/grpc/support/cpu.h \
include/grpc/support/host_port.h \ include/grpc/support/host_port.h \
include/grpc/support/log.h \ include/grpc/support/log.h \
include/grpc/support/log_windows.h \ include/grpc/support/log_windows.h \
include/grpc/support/port_platform.h \ include/grpc/support/port_platform.h \
include/grpc/support/string_util.h \ include/grpc/support/string_util.h \
include/grpc/support/subprocess.h \
include/grpc/support/sync.h \ include/grpc/support/sync.h \
include/grpc/support/sync_custom.h \ include/grpc/support/sync_custom.h \
include/grpc/support/sync_generic.h \ include/grpc/support/sync_generic.h \
@ -3653,6 +3648,7 @@ LIBGRPC_TEST_UTIL_SRC = \
test/core/end2end/fixtures/http_proxy_fixture.cc \ test/core/end2end/fixtures/http_proxy_fixture.cc \
test/core/end2end/fixtures/proxy.cc \ test/core/end2end/fixtures/proxy.cc \
test/core/iomgr/endpoint_tests.cc \ test/core/iomgr/endpoint_tests.cc \
test/core/util/cmdline.cc \
test/core/util/debugger_macros.cc \ test/core/util/debugger_macros.cc \
test/core/util/grpc_profiler.cc \ test/core/util/grpc_profiler.cc \
test/core/util/histogram.cc \ test/core/util/histogram.cc \
@ -3664,6 +3660,8 @@ LIBGRPC_TEST_UTIL_SRC = \
test/core/util/port_isolated_runtime_environment.cc \ test/core/util/port_isolated_runtime_environment.cc \
test/core/util/port_server_client.cc \ test/core/util/port_server_client.cc \
test/core/util/slice_splitter.cc \ test/core/util/slice_splitter.cc \
test/core/util/subprocess_posix.cc \
test/core/util/subprocess_windows.cc \
test/core/util/tracer_util.cc \ test/core/util/tracer_util.cc \
test/core/util/trickle_endpoint.cc \ test/core/util/trickle_endpoint.cc \
src/core/lib/backoff/backoff.cc \ src/core/lib/backoff/backoff.cc \
@ -3915,6 +3913,7 @@ LIBGRPC_TEST_UTIL_UNSECURE_SRC = \
test/core/end2end/fixtures/http_proxy_fixture.cc \ test/core/end2end/fixtures/http_proxy_fixture.cc \
test/core/end2end/fixtures/proxy.cc \ test/core/end2end/fixtures/proxy.cc \
test/core/iomgr/endpoint_tests.cc \ test/core/iomgr/endpoint_tests.cc \
test/core/util/cmdline.cc \
test/core/util/debugger_macros.cc \ test/core/util/debugger_macros.cc \
test/core/util/grpc_profiler.cc \ test/core/util/grpc_profiler.cc \
test/core/util/histogram.cc \ test/core/util/histogram.cc \
@ -3926,6 +3925,8 @@ LIBGRPC_TEST_UTIL_UNSECURE_SRC = \
test/core/util/port_isolated_runtime_environment.cc \ test/core/util/port_isolated_runtime_environment.cc \
test/core/util/port_server_client.cc \ test/core/util/port_server_client.cc \
test/core/util/slice_splitter.cc \ test/core/util/slice_splitter.cc \
test/core/util/subprocess_posix.cc \
test/core/util/subprocess_windows.cc \
test/core/util/tracer_util.cc \ test/core/util/tracer_util.cc \
test/core/util/trickle_endpoint.cc \ test/core/util/trickle_endpoint.cc \
src/core/lib/backoff/backoff.cc \ src/core/lib/backoff/backoff.cc \
@ -4629,14 +4630,12 @@ PUBLIC_HEADERS_CXX += \
include/grpc/support/atm_gcc_sync.h \ include/grpc/support/atm_gcc_sync.h \
include/grpc/support/atm_windows.h \ include/grpc/support/atm_windows.h \
include/grpc/support/avl.h \ include/grpc/support/avl.h \
include/grpc/support/cmdline.h \
include/grpc/support/cpu.h \ include/grpc/support/cpu.h \
include/grpc/support/host_port.h \ include/grpc/support/host_port.h \
include/grpc/support/log.h \ include/grpc/support/log.h \
include/grpc/support/log_windows.h \ include/grpc/support/log_windows.h \
include/grpc/support/port_platform.h \ include/grpc/support/port_platform.h \
include/grpc/support/string_util.h \ include/grpc/support/string_util.h \
include/grpc/support/subprocess.h \
include/grpc/support/sync.h \ include/grpc/support/sync.h \
include/grpc/support/sync_custom.h \ include/grpc/support/sync_custom.h \
include/grpc/support/sync_generic.h \ include/grpc/support/sync_generic.h \
@ -5118,14 +5117,12 @@ PUBLIC_HEADERS_CXX += \
include/grpc/support/atm_gcc_sync.h \ include/grpc/support/atm_gcc_sync.h \
include/grpc/support/atm_windows.h \ include/grpc/support/atm_windows.h \
include/grpc/support/avl.h \ include/grpc/support/avl.h \
include/grpc/support/cmdline.h \
include/grpc/support/cpu.h \ include/grpc/support/cpu.h \
include/grpc/support/host_port.h \ include/grpc/support/host_port.h \
include/grpc/support/log.h \ include/grpc/support/log.h \
include/grpc/support/log_windows.h \ include/grpc/support/log_windows.h \
include/grpc/support/port_platform.h \ include/grpc/support/port_platform.h \
include/grpc/support/string_util.h \ include/grpc/support/string_util.h \
include/grpc/support/subprocess.h \
include/grpc/support/sync.h \ include/grpc/support/sync.h \
include/grpc/support/sync_custom.h \ include/grpc/support/sync_custom.h \
include/grpc/support/sync_generic.h \ include/grpc/support/sync_generic.h \
@ -5837,14 +5834,12 @@ PUBLIC_HEADERS_CXX += \
include/grpc/support/atm_gcc_sync.h \ include/grpc/support/atm_gcc_sync.h \
include/grpc/support/atm_windows.h \ include/grpc/support/atm_windows.h \
include/grpc/support/avl.h \ include/grpc/support/avl.h \
include/grpc/support/cmdline.h \
include/grpc/support/cpu.h \ include/grpc/support/cpu.h \
include/grpc/support/host_port.h \ include/grpc/support/host_port.h \
include/grpc/support/log.h \ include/grpc/support/log.h \
include/grpc/support/log_windows.h \ include/grpc/support/log_windows.h \
include/grpc/support/port_platform.h \ include/grpc/support/port_platform.h \
include/grpc/support/string_util.h \ include/grpc/support/string_util.h \
include/grpc/support/subprocess.h \
include/grpc/support/sync.h \ include/grpc/support/sync.h \
include/grpc/support/sync_custom.h \ include/grpc/support/sync_custom.h \
include/grpc/support/sync_generic.h \ include/grpc/support/sync_generic.h \
@ -9267,6 +9262,38 @@ endif
endif endif
CMDLINE_TEST_SRC = \
test/core/util/cmdline_test.cc \
CMDLINE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CMDLINE_TEST_SRC))))
ifeq ($(NO_SECURE),true)
# You can't build secure targets if you don't have OpenSSL.
$(BINDIR)/$(CONFIG)/cmdline_test: openssl_dep_error
else
$(BINDIR)/$(CONFIG)/cmdline_test: $(CMDLINE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a
$(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@`
$(Q) $(LD) $(LDFLAGS) $(CMDLINE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/cmdline_test
endif
$(OBJDIR)/$(CONFIG)/test/core/util/cmdline_test.o: $(LIBDIR)/$(CONFIG)/libgpr.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a
deps_cmdline_test: $(CMDLINE_TEST_OBJS:.o=.dep)
ifneq ($(NO_SECURE),true)
ifneq ($(NO_DEPS),true)
-include $(CMDLINE_TEST_OBJS:.o=.dep)
endif
endif
COMBINER_TEST_SRC = \ COMBINER_TEST_SRC = \
test/core/iomgr/combiner_test.cc \ test/core/iomgr/combiner_test.cc \
@ -9910,38 +9937,6 @@ endif
endif endif
GPR_CMDLINE_TEST_SRC = \
test/core/gpr/cmdline_test.cc \
GPR_CMDLINE_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(GPR_CMDLINE_TEST_SRC))))
ifeq ($(NO_SECURE),true)
# You can't build secure targets if you don't have OpenSSL.
$(BINDIR)/$(CONFIG)/gpr_cmdline_test: openssl_dep_error
else
$(BINDIR)/$(CONFIG)/gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@`
$(Q) $(LD) $(LDFLAGS) $(GPR_CMDLINE_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/gpr_cmdline_test
endif
$(OBJDIR)/$(CONFIG)/test/core/gpr/cmdline_test.o: $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_gpr_cmdline_test: $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
ifneq ($(NO_SECURE),true)
ifneq ($(NO_DEPS),true)
-include $(GPR_CMDLINE_TEST_OBJS:.o=.dep)
endif
endif
GPR_CPU_TEST_SRC = \ GPR_CPU_TEST_SRC = \
test/core/gpr/cpu_test.cc \ test/core/gpr/cpu_test.cc \
@ -10628,14 +10623,14 @@ else
$(BINDIR)/$(CONFIG)/grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(BINDIR)/$(CONFIG)/grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@" $(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@` $(Q) mkdir -p `dirname $@`
$(Q) $(LD) $(LDFLAGS) $(GRPC_CREATE_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_create_jwt $(Q) $(LD) $(LDFLAGS) $(GRPC_CREATE_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_create_jwt
endif endif
$(OBJDIR)/$(CONFIG)/test/core/security/create_jwt.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(OBJDIR)/$(CONFIG)/test/core/security/create_jwt.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS:.o=.dep) deps_grpc_create_jwt: $(GRPC_CREATE_JWT_OBJS:.o=.dep)
@ -10820,14 +10815,14 @@ else
$(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token: $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token: $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@" $(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@` $(Q) mkdir -p `dirname $@`
$(Q) $(LD) $(LDFLAGS) $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token $(Q) $(LD) $(LDFLAGS) $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_print_google_default_creds_token
endif endif
$(OBJDIR)/$(CONFIG)/test/core/security/print_google_default_creds_token.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(OBJDIR)/$(CONFIG)/test/core/security/print_google_default_creds_token.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_grpc_print_google_default_creds_token: $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS:.o=.dep) deps_grpc_print_google_default_creds_token: $(GRPC_PRINT_GOOGLE_DEFAULT_CREDS_TOKEN_OBJS:.o=.dep)
@ -10916,14 +10911,14 @@ else
$(BINDIR)/$(CONFIG)/grpc_verify_jwt: $(GRPC_VERIFY_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(BINDIR)/$(CONFIG)/grpc_verify_jwt: $(GRPC_VERIFY_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@" $(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@` $(Q) mkdir -p `dirname $@`
$(Q) $(LD) $(LDFLAGS) $(GRPC_VERIFY_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_verify_jwt $(Q) $(LD) $(LDFLAGS) $(GRPC_VERIFY_JWT_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/grpc_verify_jwt
endif endif
$(OBJDIR)/$(CONFIG)/test/core/security/verify_jwt.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(OBJDIR)/$(CONFIG)/test/core/security/verify_jwt.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_grpc_verify_jwt: $(GRPC_VERIFY_JWT_OBJS:.o=.dep) deps_grpc_verify_jwt: $(GRPC_VERIFY_JWT_OBJS:.o=.dep)
@ -11466,14 +11461,14 @@ else
$(BINDIR)/$(CONFIG)/json_rewrite: $(JSON_REWRITE_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(BINDIR)/$(CONFIG)/json_rewrite: $(JSON_REWRITE_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
$(E) "[LD] Linking $@" $(E) "[LD] Linking $@"
$(Q) mkdir -p `dirname $@` $(Q) mkdir -p `dirname $@`
$(Q) $(LD) $(LDFLAGS) $(JSON_REWRITE_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/json_rewrite $(Q) $(LD) $(LDFLAGS) $(JSON_REWRITE_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBS) $(LDLIBS_SECURE) -o $(BINDIR)/$(CONFIG)/json_rewrite
endif endif
$(OBJDIR)/$(CONFIG)/test/core/json/json_rewrite.o: $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr.a $(OBJDIR)/$(CONFIG)/test/core/json/json_rewrite.o: $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a
deps_json_rewrite: $(JSON_REWRITE_OBJS:.o=.dep) deps_json_rewrite: $(JSON_REWRITE_OBJS:.o=.dep)

@ -30,7 +30,6 @@ filegroups:
- src/core/lib/gpr/arena.cc - src/core/lib/gpr/arena.cc
- src/core/lib/gpr/atm.cc - src/core/lib/gpr/atm.cc
- src/core/lib/gpr/avl.cc - src/core/lib/gpr/avl.cc
- src/core/lib/gpr/cmdline.cc
- src/core/lib/gpr/cpu_iphone.cc - src/core/lib/gpr/cpu_iphone.cc
- src/core/lib/gpr/cpu_linux.cc - src/core/lib/gpr/cpu_linux.cc
- src/core/lib/gpr/cpu_posix.cc - src/core/lib/gpr/cpu_posix.cc
@ -51,8 +50,6 @@ filegroups:
- src/core/lib/gpr/string_posix.cc - src/core/lib/gpr/string_posix.cc
- src/core/lib/gpr/string_util_windows.cc - src/core/lib/gpr/string_util_windows.cc
- src/core/lib/gpr/string_windows.cc - src/core/lib/gpr/string_windows.cc
- src/core/lib/gpr/subprocess_posix.cc
- src/core/lib/gpr/subprocess_windows.cc
- src/core/lib/gpr/sync.cc - src/core/lib/gpr/sync.cc
- src/core/lib/gpr/sync_posix.cc - src/core/lib/gpr/sync_posix.cc
- src/core/lib/gpr/sync_windows.cc - src/core/lib/gpr/sync_windows.cc
@ -80,14 +77,12 @@ filegroups:
- include/grpc/support/atm_gcc_sync.h - include/grpc/support/atm_gcc_sync.h
- include/grpc/support/atm_windows.h - include/grpc/support/atm_windows.h
- include/grpc/support/avl.h - include/grpc/support/avl.h
- include/grpc/support/cmdline.h
- include/grpc/support/cpu.h - include/grpc/support/cpu.h
- include/grpc/support/host_port.h - include/grpc/support/host_port.h
- include/grpc/support/log.h - include/grpc/support/log.h
- include/grpc/support/log_windows.h - include/grpc/support/log_windows.h
- include/grpc/support/port_platform.h - include/grpc/support/port_platform.h
- include/grpc/support/string_util.h - include/grpc/support/string_util.h
- include/grpc/support/subprocess.h
- include/grpc/support/sync.h - include/grpc/support/sync.h
- include/grpc/support/sync_custom.h - include/grpc/support/sync_custom.h
- include/grpc/support/sync_generic.h - include/grpc/support/sync_generic.h
@ -715,6 +710,7 @@ filegroups:
- test/core/end2end/fixtures/http_proxy_fixture.h - test/core/end2end/fixtures/http_proxy_fixture.h
- test/core/end2end/fixtures/proxy.h - test/core/end2end/fixtures/proxy.h
- test/core/iomgr/endpoint_tests.h - test/core/iomgr/endpoint_tests.h
- test/core/util/cmdline.h
- test/core/util/debugger_macros.h - test/core/util/debugger_macros.h
- test/core/util/grpc_profiler.h - test/core/util/grpc_profiler.h
- test/core/util/histogram.h - test/core/util/histogram.h
@ -725,6 +721,7 @@ filegroups:
- test/core/util/port.h - test/core/util/port.h
- test/core/util/port_server_client.h - test/core/util/port_server_client.h
- test/core/util/slice_splitter.h - test/core/util/slice_splitter.h
- test/core/util/subprocess.h
- test/core/util/tracer_util.h - test/core/util/tracer_util.h
- test/core/util/trickle_endpoint.h - test/core/util/trickle_endpoint.h
src: src:
@ -733,6 +730,7 @@ filegroups:
- test/core/end2end/fixtures/http_proxy_fixture.cc - test/core/end2end/fixtures/http_proxy_fixture.cc
- test/core/end2end/fixtures/proxy.cc - test/core/end2end/fixtures/proxy.cc
- test/core/iomgr/endpoint_tests.cc - test/core/iomgr/endpoint_tests.cc
- test/core/util/cmdline.cc
- test/core/util/debugger_macros.cc - test/core/util/debugger_macros.cc
- test/core/util/grpc_profiler.cc - test/core/util/grpc_profiler.cc
- test/core/util/histogram.cc - test/core/util/histogram.cc
@ -744,6 +742,8 @@ filegroups:
- test/core/util/port_isolated_runtime_environment.cc - test/core/util/port_isolated_runtime_environment.cc
- test/core/util/port_server_client.cc - test/core/util/port_server_client.cc
- test/core/util/slice_splitter.cc - test/core/util/slice_splitter.cc
- test/core/util/subprocess_posix.cc
- test/core/util/subprocess_windows.cc
- test/core/util/tracer_util.cc - test/core/util/tracer_util.cc
- test/core/util/trickle_endpoint.cc - test/core/util/trickle_endpoint.cc
deps: deps:
@ -1881,6 +1881,16 @@ targets:
- test/core/end2end/fuzzers/client_fuzzer_corpus - test/core/end2end/fuzzers/client_fuzzer_corpus
dict: test/core/end2end/fuzzers/hpack.dictionary dict: test/core/end2end/fuzzers/hpack.dictionary
maxlen: 2048 maxlen: 2048
- name: cmdline_test
build: test
language: c
src:
- test/core/util/cmdline_test.cc
deps:
- gpr
- gpr_test_util
- grpc_test_util
uses_polling: false
- name: combiner_test - name: combiner_test
cpu_cost: 10 cpu_cost: 10
build: test build: test
@ -2141,15 +2151,6 @@ targets:
- gpr_test_util - gpr_test_util
- gpr - gpr
uses_polling: false uses_polling: false
- name: gpr_cmdline_test
build: test
language: c
src:
- test/core/gpr/cmdline_test.cc
deps:
- gpr_test_util
- gpr
uses_polling: false
- name: gpr_cpu_test - name: gpr_cpu_test
cpu_cost: 30 cpu_cost: 30
build: test build: test
@ -2366,7 +2367,9 @@ targets:
src: src:
- test/core/security/create_jwt.cc - test/core/security/create_jwt.cc
deps: deps:
- grpc_test_util
- grpc - grpc
- gpr_test_util
- gpr - gpr
secure: true secure: true
uses_polling: false uses_polling: false
@ -2434,7 +2437,9 @@ targets:
src: src:
- test/core/security/print_google_default_creds_token.cc - test/core/security/print_google_default_creds_token.cc
deps: deps:
- grpc_test_util
- grpc - grpc
- gpr_test_util
- gpr - gpr
uses_polling: false uses_polling: false
- name: grpc_security_connector_test - name: grpc_security_connector_test
@ -2463,7 +2468,9 @@ targets:
src: src:
- test/core/security/verify_jwt.cc - test/core/security/verify_jwt.cc
deps: deps:
- grpc_test_util
- grpc - grpc
- gpr_test_util
- gpr - gpr
uses_polling: false uses_polling: false
- name: handshake_client - name: handshake_client
@ -2679,7 +2686,9 @@ targets:
src: src:
- test/core/json/json_rewrite.cc - test/core/json/json_rewrite.cc
deps: deps:
- grpc_test_util
- grpc - grpc
- gpr_test_util
- gpr - gpr
uses_polling: false uses_polling: false
- name: json_rewrite_test - name: json_rewrite_test

@ -43,7 +43,6 @@ if test "$PHP_GRPC" != "no"; then
src/core/lib/gpr/arena.cc \ src/core/lib/gpr/arena.cc \
src/core/lib/gpr/atm.cc \ src/core/lib/gpr/atm.cc \
src/core/lib/gpr/avl.cc \ src/core/lib/gpr/avl.cc \
src/core/lib/gpr/cmdline.cc \
src/core/lib/gpr/cpu_iphone.cc \ src/core/lib/gpr/cpu_iphone.cc \
src/core/lib/gpr/cpu_linux.cc \ src/core/lib/gpr/cpu_linux.cc \
src/core/lib/gpr/cpu_posix.cc \ src/core/lib/gpr/cpu_posix.cc \
@ -64,8 +63,6 @@ if test "$PHP_GRPC" != "no"; then
src/core/lib/gpr/string_posix.cc \ src/core/lib/gpr/string_posix.cc \
src/core/lib/gpr/string_util_windows.cc \ src/core/lib/gpr/string_util_windows.cc \
src/core/lib/gpr/string_windows.cc \ src/core/lib/gpr/string_windows.cc \
src/core/lib/gpr/subprocess_posix.cc \
src/core/lib/gpr/subprocess_windows.cc \
src/core/lib/gpr/sync.cc \ src/core/lib/gpr/sync.cc \
src/core/lib/gpr/sync_posix.cc \ src/core/lib/gpr/sync_posix.cc \
src/core/lib/gpr/sync_windows.cc \ src/core/lib/gpr/sync_windows.cc \

@ -20,7 +20,6 @@ if (PHP_GRPC != "no") {
"src\\core\\lib\\gpr\\arena.cc " + "src\\core\\lib\\gpr\\arena.cc " +
"src\\core\\lib\\gpr\\atm.cc " + "src\\core\\lib\\gpr\\atm.cc " +
"src\\core\\lib\\gpr\\avl.cc " + "src\\core\\lib\\gpr\\avl.cc " +
"src\\core\\lib\\gpr\\cmdline.cc " +
"src\\core\\lib\\gpr\\cpu_iphone.cc " + "src\\core\\lib\\gpr\\cpu_iphone.cc " +
"src\\core\\lib\\gpr\\cpu_linux.cc " + "src\\core\\lib\\gpr\\cpu_linux.cc " +
"src\\core\\lib\\gpr\\cpu_posix.cc " + "src\\core\\lib\\gpr\\cpu_posix.cc " +
@ -41,8 +40,6 @@ if (PHP_GRPC != "no") {
"src\\core\\lib\\gpr\\string_posix.cc " + "src\\core\\lib\\gpr\\string_posix.cc " +
"src\\core\\lib\\gpr\\string_util_windows.cc " + "src\\core\\lib\\gpr\\string_util_windows.cc " +
"src\\core\\lib\\gpr\\string_windows.cc " + "src\\core\\lib\\gpr\\string_windows.cc " +
"src\\core\\lib\\gpr\\subprocess_posix.cc " +
"src\\core\\lib\\gpr\\subprocess_windows.cc " +
"src\\core\\lib\\gpr\\sync.cc " + "src\\core\\lib\\gpr\\sync.cc " +
"src\\core\\lib\\gpr\\sync_posix.cc " + "src\\core\\lib\\gpr\\sync_posix.cc " +
"src\\core\\lib\\gpr\\sync_windows.cc " + "src\\core\\lib\\gpr\\sync_windows.cc " +

@ -618,6 +618,7 @@ Pod::Spec.new do |s|
'test/core/end2end/fixtures/http_proxy_fixture.h', 'test/core/end2end/fixtures/http_proxy_fixture.h',
'test/core/end2end/fixtures/proxy.h', 'test/core/end2end/fixtures/proxy.h',
'test/core/iomgr/endpoint_tests.h', 'test/core/iomgr/endpoint_tests.h',
'test/core/util/cmdline.h',
'test/core/util/debugger_macros.h', 'test/core/util/debugger_macros.h',
'test/core/util/grpc_profiler.h', 'test/core/util/grpc_profiler.h',
'test/core/util/histogram.h', 'test/core/util/histogram.h',
@ -628,6 +629,7 @@ Pod::Spec.new do |s|
'test/core/util/port.h', 'test/core/util/port.h',
'test/core/util/port_server_client.h', 'test/core/util/port_server_client.h',
'test/core/util/slice_splitter.h', 'test/core/util/slice_splitter.h',
'test/core/util/subprocess.h',
'test/core/util/tracer_util.h', 'test/core/util/tracer_util.h',
'test/core/util/trickle_endpoint.h', 'test/core/util/trickle_endpoint.h',
'src/core/ext/filters/client_channel/backup_poller.h', 'src/core/ext/filters/client_channel/backup_poller.h',

@ -115,14 +115,12 @@ Pod::Spec.new do |s|
'include/grpc/support/atm_gcc_sync.h', 'include/grpc/support/atm_gcc_sync.h',
'include/grpc/support/atm_windows.h', 'include/grpc/support/atm_windows.h',
'include/grpc/support/avl.h', 'include/grpc/support/avl.h',
'include/grpc/support/cmdline.h',
'include/grpc/support/cpu.h', 'include/grpc/support/cpu.h',
'include/grpc/support/host_port.h', 'include/grpc/support/host_port.h',
'include/grpc/support/log.h', 'include/grpc/support/log.h',
'include/grpc/support/log_windows.h', 'include/grpc/support/log_windows.h',
'include/grpc/support/port_platform.h', 'include/grpc/support/port_platform.h',
'include/grpc/support/string_util.h', 'include/grpc/support/string_util.h',
'include/grpc/support/subprocess.h',
'include/grpc/support/sync.h', 'include/grpc/support/sync.h',
'include/grpc/support/sync_custom.h', 'include/grpc/support/sync_custom.h',
'include/grpc/support/sync_generic.h', 'include/grpc/support/sync_generic.h',
@ -215,7 +213,6 @@ Pod::Spec.new do |s|
'src/core/lib/gpr/arena.cc', 'src/core/lib/gpr/arena.cc',
'src/core/lib/gpr/atm.cc', 'src/core/lib/gpr/atm.cc',
'src/core/lib/gpr/avl.cc', 'src/core/lib/gpr/avl.cc',
'src/core/lib/gpr/cmdline.cc',
'src/core/lib/gpr/cpu_iphone.cc', 'src/core/lib/gpr/cpu_iphone.cc',
'src/core/lib/gpr/cpu_linux.cc', 'src/core/lib/gpr/cpu_linux.cc',
'src/core/lib/gpr/cpu_posix.cc', 'src/core/lib/gpr/cpu_posix.cc',
@ -236,8 +233,6 @@ Pod::Spec.new do |s|
'src/core/lib/gpr/string_posix.cc', 'src/core/lib/gpr/string_posix.cc',
'src/core/lib/gpr/string_util_windows.cc', 'src/core/lib/gpr/string_util_windows.cc',
'src/core/lib/gpr/string_windows.cc', 'src/core/lib/gpr/string_windows.cc',
'src/core/lib/gpr/subprocess_posix.cc',
'src/core/lib/gpr/subprocess_windows.cc',
'src/core/lib/gpr/sync.cc', 'src/core/lib/gpr/sync.cc',
'src/core/lib/gpr/sync_posix.cc', 'src/core/lib/gpr/sync_posix.cc',
'src/core/lib/gpr/sync_windows.cc', 'src/core/lib/gpr/sync_windows.cc',
@ -993,6 +988,7 @@ Pod::Spec.new do |s|
'test/core/end2end/fixtures/http_proxy_fixture.cc', 'test/core/end2end/fixtures/http_proxy_fixture.cc',
'test/core/end2end/fixtures/proxy.cc', 'test/core/end2end/fixtures/proxy.cc',
'test/core/iomgr/endpoint_tests.cc', 'test/core/iomgr/endpoint_tests.cc',
'test/core/util/cmdline.cc',
'test/core/util/debugger_macros.cc', 'test/core/util/debugger_macros.cc',
'test/core/util/grpc_profiler.cc', 'test/core/util/grpc_profiler.cc',
'test/core/util/histogram.cc', 'test/core/util/histogram.cc',
@ -1004,6 +1000,8 @@ Pod::Spec.new do |s|
'test/core/util/port_isolated_runtime_environment.cc', 'test/core/util/port_isolated_runtime_environment.cc',
'test/core/util/port_server_client.cc', 'test/core/util/port_server_client.cc',
'test/core/util/slice_splitter.cc', 'test/core/util/slice_splitter.cc',
'test/core/util/subprocess_posix.cc',
'test/core/util/subprocess_windows.cc',
'test/core/util/tracer_util.cc', 'test/core/util/tracer_util.cc',
'test/core/util/trickle_endpoint.cc', 'test/core/util/trickle_endpoint.cc',
'test/core/end2end/data/ssl_test_data.h', 'test/core/end2end/data/ssl_test_data.h',
@ -1012,6 +1010,7 @@ Pod::Spec.new do |s|
'test/core/end2end/fixtures/http_proxy_fixture.h', 'test/core/end2end/fixtures/http_proxy_fixture.h',
'test/core/end2end/fixtures/proxy.h', 'test/core/end2end/fixtures/proxy.h',
'test/core/iomgr/endpoint_tests.h', 'test/core/iomgr/endpoint_tests.h',
'test/core/util/cmdline.h',
'test/core/util/debugger_macros.h', 'test/core/util/debugger_macros.h',
'test/core/util/grpc_profiler.h', 'test/core/util/grpc_profiler.h',
'test/core/util/histogram.h', 'test/core/util/histogram.h',
@ -1022,6 +1021,7 @@ Pod::Spec.new do |s|
'test/core/util/port.h', 'test/core/util/port.h',
'test/core/util/port_server_client.h', 'test/core/util/port_server_client.h',
'test/core/util/slice_splitter.h', 'test/core/util/slice_splitter.h',
'test/core/util/subprocess.h',
'test/core/util/tracer_util.h', 'test/core/util/tracer_util.h',
'test/core/util/trickle_endpoint.h', 'test/core/util/trickle_endpoint.h',
'test/core/end2end/end2end_tests.cc', 'test/core/end2end/end2end_tests.cc',

@ -190,15 +190,6 @@ EXPORTS
gpr_avl_get gpr_avl_get
gpr_avl_maybe_get gpr_avl_maybe_get
gpr_avl_is_empty gpr_avl_is_empty
gpr_cmdline_create
gpr_cmdline_add_int
gpr_cmdline_add_flag
gpr_cmdline_add_string
gpr_cmdline_on_extra_arg
gpr_cmdline_set_survive_failure
gpr_cmdline_parse
gpr_cmdline_destroy
gpr_cmdline_usage_string
gpr_cpu_num_cores gpr_cpu_num_cores
gpr_cpu_current_cpu gpr_cpu_current_cpu
gpr_join_host_port gpr_join_host_port
@ -212,11 +203,6 @@ EXPORTS
gpr_format_message gpr_format_message
gpr_strdup gpr_strdup
gpr_asprintf gpr_asprintf
gpr_subprocess_binary_extension
gpr_subprocess_create
gpr_subprocess_destroy
gpr_subprocess_join
gpr_subprocess_interrupt
gpr_mu_init gpr_mu_init
gpr_mu_destroy gpr_mu_destroy
gpr_mu_lock gpr_mu_lock

@ -50,14 +50,12 @@ Gem::Specification.new do |s|
s.files += %w( include/grpc/support/atm_gcc_sync.h ) s.files += %w( include/grpc/support/atm_gcc_sync.h )
s.files += %w( include/grpc/support/atm_windows.h ) s.files += %w( include/grpc/support/atm_windows.h )
s.files += %w( include/grpc/support/avl.h ) s.files += %w( include/grpc/support/avl.h )
s.files += %w( include/grpc/support/cmdline.h )
s.files += %w( include/grpc/support/cpu.h ) s.files += %w( include/grpc/support/cpu.h )
s.files += %w( include/grpc/support/host_port.h ) s.files += %w( include/grpc/support/host_port.h )
s.files += %w( include/grpc/support/log.h ) s.files += %w( include/grpc/support/log.h )
s.files += %w( include/grpc/support/log_windows.h ) s.files += %w( include/grpc/support/log_windows.h )
s.files += %w( include/grpc/support/port_platform.h ) s.files += %w( include/grpc/support/port_platform.h )
s.files += %w( include/grpc/support/string_util.h ) s.files += %w( include/grpc/support/string_util.h )
s.files += %w( include/grpc/support/subprocess.h )
s.files += %w( include/grpc/support/sync.h ) s.files += %w( include/grpc/support/sync.h )
s.files += %w( include/grpc/support/sync_custom.h ) s.files += %w( include/grpc/support/sync_custom.h )
s.files += %w( include/grpc/support/sync_generic.h ) s.files += %w( include/grpc/support/sync_generic.h )
@ -105,7 +103,6 @@ Gem::Specification.new do |s|
s.files += %w( src/core/lib/gpr/arena.cc ) s.files += %w( src/core/lib/gpr/arena.cc )
s.files += %w( src/core/lib/gpr/atm.cc ) s.files += %w( src/core/lib/gpr/atm.cc )
s.files += %w( src/core/lib/gpr/avl.cc ) s.files += %w( src/core/lib/gpr/avl.cc )
s.files += %w( src/core/lib/gpr/cmdline.cc )
s.files += %w( src/core/lib/gpr/cpu_iphone.cc ) s.files += %w( src/core/lib/gpr/cpu_iphone.cc )
s.files += %w( src/core/lib/gpr/cpu_linux.cc ) s.files += %w( src/core/lib/gpr/cpu_linux.cc )
s.files += %w( src/core/lib/gpr/cpu_posix.cc ) s.files += %w( src/core/lib/gpr/cpu_posix.cc )
@ -126,8 +123,6 @@ Gem::Specification.new do |s|
s.files += %w( src/core/lib/gpr/string_posix.cc ) s.files += %w( src/core/lib/gpr/string_posix.cc )
s.files += %w( src/core/lib/gpr/string_util_windows.cc ) s.files += %w( src/core/lib/gpr/string_util_windows.cc )
s.files += %w( src/core/lib/gpr/string_windows.cc ) s.files += %w( src/core/lib/gpr/string_windows.cc )
s.files += %w( src/core/lib/gpr/subprocess_posix.cc )
s.files += %w( src/core/lib/gpr/subprocess_windows.cc )
s.files += %w( src/core/lib/gpr/sync.cc ) s.files += %w( src/core/lib/gpr/sync.cc )
s.files += %w( src/core/lib/gpr/sync_posix.cc ) s.files += %w( src/core/lib/gpr/sync_posix.cc )
s.files += %w( src/core/lib/gpr/sync_windows.cc ) s.files += %w( src/core/lib/gpr/sync_windows.cc )

@ -165,7 +165,6 @@
'src/core/lib/gpr/arena.cc', 'src/core/lib/gpr/arena.cc',
'src/core/lib/gpr/atm.cc', 'src/core/lib/gpr/atm.cc',
'src/core/lib/gpr/avl.cc', 'src/core/lib/gpr/avl.cc',
'src/core/lib/gpr/cmdline.cc',
'src/core/lib/gpr/cpu_iphone.cc', 'src/core/lib/gpr/cpu_iphone.cc',
'src/core/lib/gpr/cpu_linux.cc', 'src/core/lib/gpr/cpu_linux.cc',
'src/core/lib/gpr/cpu_posix.cc', 'src/core/lib/gpr/cpu_posix.cc',
@ -186,8 +185,6 @@
'src/core/lib/gpr/string_posix.cc', 'src/core/lib/gpr/string_posix.cc',
'src/core/lib/gpr/string_util_windows.cc', 'src/core/lib/gpr/string_util_windows.cc',
'src/core/lib/gpr/string_windows.cc', 'src/core/lib/gpr/string_windows.cc',
'src/core/lib/gpr/subprocess_posix.cc',
'src/core/lib/gpr/subprocess_windows.cc',
'src/core/lib/gpr/sync.cc', 'src/core/lib/gpr/sync.cc',
'src/core/lib/gpr/sync_posix.cc', 'src/core/lib/gpr/sync_posix.cc',
'src/core/lib/gpr/sync_windows.cc', 'src/core/lib/gpr/sync_windows.cc',
@ -508,6 +505,7 @@
'test/core/end2end/fixtures/http_proxy_fixture.cc', 'test/core/end2end/fixtures/http_proxy_fixture.cc',
'test/core/end2end/fixtures/proxy.cc', 'test/core/end2end/fixtures/proxy.cc',
'test/core/iomgr/endpoint_tests.cc', 'test/core/iomgr/endpoint_tests.cc',
'test/core/util/cmdline.cc',
'test/core/util/debugger_macros.cc', 'test/core/util/debugger_macros.cc',
'test/core/util/grpc_profiler.cc', 'test/core/util/grpc_profiler.cc',
'test/core/util/histogram.cc', 'test/core/util/histogram.cc',
@ -519,6 +517,8 @@
'test/core/util/port_isolated_runtime_environment.cc', 'test/core/util/port_isolated_runtime_environment.cc',
'test/core/util/port_server_client.cc', 'test/core/util/port_server_client.cc',
'test/core/util/slice_splitter.cc', 'test/core/util/slice_splitter.cc',
'test/core/util/subprocess_posix.cc',
'test/core/util/subprocess_windows.cc',
'test/core/util/tracer_util.cc', 'test/core/util/tracer_util.cc',
'test/core/util/trickle_endpoint.cc', 'test/core/util/trickle_endpoint.cc',
'src/core/lib/backoff/backoff.cc', 'src/core/lib/backoff/backoff.cc',
@ -722,6 +722,7 @@
'test/core/end2end/fixtures/http_proxy_fixture.cc', 'test/core/end2end/fixtures/http_proxy_fixture.cc',
'test/core/end2end/fixtures/proxy.cc', 'test/core/end2end/fixtures/proxy.cc',
'test/core/iomgr/endpoint_tests.cc', 'test/core/iomgr/endpoint_tests.cc',
'test/core/util/cmdline.cc',
'test/core/util/debugger_macros.cc', 'test/core/util/debugger_macros.cc',
'test/core/util/grpc_profiler.cc', 'test/core/util/grpc_profiler.cc',
'test/core/util/histogram.cc', 'test/core/util/histogram.cc',
@ -733,6 +734,8 @@
'test/core/util/port_isolated_runtime_environment.cc', 'test/core/util/port_isolated_runtime_environment.cc',
'test/core/util/port_server_client.cc', 'test/core/util/port_server_client.cc',
'test/core/util/slice_splitter.cc', 'test/core/util/slice_splitter.cc',
'test/core/util/subprocess_posix.cc',
'test/core/util/subprocess_windows.cc',
'test/core/util/tracer_util.cc', 'test/core/util/tracer_util.cc',
'test/core/util/trickle_endpoint.cc', 'test/core/util/trickle_endpoint.cc',
'src/core/lib/backoff/backoff.cc', 'src/core/lib/backoff/backoff.cc',

@ -5,14 +5,12 @@ framework module grpc {
header "support/alloc.h" header "support/alloc.h"
header "support/atm.h" header "support/atm.h"
header "support/avl.h" header "support/avl.h"
header "support/cmdline.h"
header "support/cpu.h" header "support/cpu.h"
header "support/host_port.h" header "support/host_port.h"
header "support/log.h" header "support/log.h"
header "support/log_windows.h" header "support/log_windows.h"
header "support/port_platform.h" header "support/port_platform.h"
header "support/string_util.h" header "support/string_util.h"
header "support/subprocess.h"
header "support/sync.h" header "support/sync.h"
header "support/sync_generic.h" header "support/sync_generic.h"
header "support/thd.h" header "support/thd.h"

@ -57,14 +57,12 @@
<file baseinstalldir="/" name="include/grpc/support/atm_gcc_sync.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/atm_gcc_sync.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/atm_windows.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/atm_windows.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/avl.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/avl.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/cmdline.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/cpu.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/cpu.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/host_port.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/host_port.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/log.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/log.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/log_windows.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/log_windows.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/port_platform.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/port_platform.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/string_util.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/string_util.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/subprocess.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/sync.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/sync.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/sync_custom.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/sync_custom.h" role="src" />
<file baseinstalldir="/" name="include/grpc/support/sync_generic.h" role="src" /> <file baseinstalldir="/" name="include/grpc/support/sync_generic.h" role="src" />
@ -112,7 +110,6 @@
<file baseinstalldir="/" name="src/core/lib/gpr/arena.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/arena.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/atm.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/atm.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/avl.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/avl.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/cmdline.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/cpu_iphone.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/cpu_iphone.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/cpu_linux.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/cpu_linux.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/cpu_posix.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/cpu_posix.cc" role="src" />
@ -133,8 +130,6 @@
<file baseinstalldir="/" name="src/core/lib/gpr/string_posix.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/string_posix.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/string_util_windows.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/string_util_windows.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/string_windows.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/string_windows.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/subprocess_posix.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/subprocess_windows.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/sync.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/sync.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/sync_posix.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/sync_posix.cc" role="src" />
<file baseinstalldir="/" name="src/core/lib/gpr/sync_windows.cc" role="src" /> <file baseinstalldir="/" name="src/core/lib/gpr/sync_windows.cc" role="src" />

@ -19,7 +19,6 @@ CORE_SOURCE_FILES = [
'src/core/lib/gpr/arena.cc', 'src/core/lib/gpr/arena.cc',
'src/core/lib/gpr/atm.cc', 'src/core/lib/gpr/atm.cc',
'src/core/lib/gpr/avl.cc', 'src/core/lib/gpr/avl.cc',
'src/core/lib/gpr/cmdline.cc',
'src/core/lib/gpr/cpu_iphone.cc', 'src/core/lib/gpr/cpu_iphone.cc',
'src/core/lib/gpr/cpu_linux.cc', 'src/core/lib/gpr/cpu_linux.cc',
'src/core/lib/gpr/cpu_posix.cc', 'src/core/lib/gpr/cpu_posix.cc',
@ -40,8 +39,6 @@ CORE_SOURCE_FILES = [
'src/core/lib/gpr/string_posix.cc', 'src/core/lib/gpr/string_posix.cc',
'src/core/lib/gpr/string_util_windows.cc', 'src/core/lib/gpr/string_util_windows.cc',
'src/core/lib/gpr/string_windows.cc', 'src/core/lib/gpr/string_windows.cc',
'src/core/lib/gpr/subprocess_posix.cc',
'src/core/lib/gpr/subprocess_windows.cc',
'src/core/lib/gpr/sync.cc', 'src/core/lib/gpr/sync.cc',
'src/core/lib/gpr/sync_posix.cc', 'src/core/lib/gpr/sync_posix.cc',
'src/core/lib/gpr/sync_windows.cc', 'src/core/lib/gpr/sync_windows.cc',

@ -213,15 +213,6 @@ gpr_avl_remove_type gpr_avl_remove_import;
gpr_avl_get_type gpr_avl_get_import; gpr_avl_get_type gpr_avl_get_import;
gpr_avl_maybe_get_type gpr_avl_maybe_get_import; gpr_avl_maybe_get_type gpr_avl_maybe_get_import;
gpr_avl_is_empty_type gpr_avl_is_empty_import; gpr_avl_is_empty_type gpr_avl_is_empty_import;
gpr_cmdline_create_type gpr_cmdline_create_import;
gpr_cmdline_add_int_type gpr_cmdline_add_int_import;
gpr_cmdline_add_flag_type gpr_cmdline_add_flag_import;
gpr_cmdline_add_string_type gpr_cmdline_add_string_import;
gpr_cmdline_on_extra_arg_type gpr_cmdline_on_extra_arg_import;
gpr_cmdline_set_survive_failure_type gpr_cmdline_set_survive_failure_import;
gpr_cmdline_parse_type gpr_cmdline_parse_import;
gpr_cmdline_destroy_type gpr_cmdline_destroy_import;
gpr_cmdline_usage_string_type gpr_cmdline_usage_string_import;
gpr_cpu_num_cores_type gpr_cpu_num_cores_import; gpr_cpu_num_cores_type gpr_cpu_num_cores_import;
gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import; gpr_cpu_current_cpu_type gpr_cpu_current_cpu_import;
gpr_join_host_port_type gpr_join_host_port_import; gpr_join_host_port_type gpr_join_host_port_import;
@ -235,11 +226,6 @@ gpr_set_log_function_type gpr_set_log_function_import;
gpr_format_message_type gpr_format_message_import; gpr_format_message_type gpr_format_message_import;
gpr_strdup_type gpr_strdup_import; gpr_strdup_type gpr_strdup_import;
gpr_asprintf_type gpr_asprintf_import; gpr_asprintf_type gpr_asprintf_import;
gpr_subprocess_binary_extension_type gpr_subprocess_binary_extension_import;
gpr_subprocess_create_type gpr_subprocess_create_import;
gpr_subprocess_destroy_type gpr_subprocess_destroy_import;
gpr_subprocess_join_type gpr_subprocess_join_import;
gpr_subprocess_interrupt_type gpr_subprocess_interrupt_import;
gpr_mu_init_type gpr_mu_init_import; gpr_mu_init_type gpr_mu_init_import;
gpr_mu_destroy_type gpr_mu_destroy_import; gpr_mu_destroy_type gpr_mu_destroy_import;
gpr_mu_lock_type gpr_mu_lock_import; gpr_mu_lock_type gpr_mu_lock_import;
@ -486,15 +472,6 @@ void grpc_rb_load_imports(HMODULE library) {
gpr_avl_get_import = (gpr_avl_get_type) GetProcAddress(library, "gpr_avl_get"); gpr_avl_get_import = (gpr_avl_get_type) GetProcAddress(library, "gpr_avl_get");
gpr_avl_maybe_get_import = (gpr_avl_maybe_get_type) GetProcAddress(library, "gpr_avl_maybe_get"); gpr_avl_maybe_get_import = (gpr_avl_maybe_get_type) GetProcAddress(library, "gpr_avl_maybe_get");
gpr_avl_is_empty_import = (gpr_avl_is_empty_type) GetProcAddress(library, "gpr_avl_is_empty"); gpr_avl_is_empty_import = (gpr_avl_is_empty_type) GetProcAddress(library, "gpr_avl_is_empty");
gpr_cmdline_create_import = (gpr_cmdline_create_type) GetProcAddress(library, "gpr_cmdline_create");
gpr_cmdline_add_int_import = (gpr_cmdline_add_int_type) GetProcAddress(library, "gpr_cmdline_add_int");
gpr_cmdline_add_flag_import = (gpr_cmdline_add_flag_type) GetProcAddress(library, "gpr_cmdline_add_flag");
gpr_cmdline_add_string_import = (gpr_cmdline_add_string_type) GetProcAddress(library, "gpr_cmdline_add_string");
gpr_cmdline_on_extra_arg_import = (gpr_cmdline_on_extra_arg_type) GetProcAddress(library, "gpr_cmdline_on_extra_arg");
gpr_cmdline_set_survive_failure_import = (gpr_cmdline_set_survive_failure_type) GetProcAddress(library, "gpr_cmdline_set_survive_failure");
gpr_cmdline_parse_import = (gpr_cmdline_parse_type) GetProcAddress(library, "gpr_cmdline_parse");
gpr_cmdline_destroy_import = (gpr_cmdline_destroy_type) GetProcAddress(library, "gpr_cmdline_destroy");
gpr_cmdline_usage_string_import = (gpr_cmdline_usage_string_type) GetProcAddress(library, "gpr_cmdline_usage_string");
gpr_cpu_num_cores_import = (gpr_cpu_num_cores_type) GetProcAddress(library, "gpr_cpu_num_cores"); gpr_cpu_num_cores_import = (gpr_cpu_num_cores_type) GetProcAddress(library, "gpr_cpu_num_cores");
gpr_cpu_current_cpu_import = (gpr_cpu_current_cpu_type) GetProcAddress(library, "gpr_cpu_current_cpu"); gpr_cpu_current_cpu_import = (gpr_cpu_current_cpu_type) GetProcAddress(library, "gpr_cpu_current_cpu");
gpr_join_host_port_import = (gpr_join_host_port_type) GetProcAddress(library, "gpr_join_host_port"); gpr_join_host_port_import = (gpr_join_host_port_type) GetProcAddress(library, "gpr_join_host_port");
@ -508,11 +485,6 @@ void grpc_rb_load_imports(HMODULE library) {
gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message"); gpr_format_message_import = (gpr_format_message_type) GetProcAddress(library, "gpr_format_message");
gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup"); gpr_strdup_import = (gpr_strdup_type) GetProcAddress(library, "gpr_strdup");
gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf"); gpr_asprintf_import = (gpr_asprintf_type) GetProcAddress(library, "gpr_asprintf");
gpr_subprocess_binary_extension_import = (gpr_subprocess_binary_extension_type) GetProcAddress(library, "gpr_subprocess_binary_extension");
gpr_subprocess_create_import = (gpr_subprocess_create_type) GetProcAddress(library, "gpr_subprocess_create");
gpr_subprocess_destroy_import = (gpr_subprocess_destroy_type) GetProcAddress(library, "gpr_subprocess_destroy");
gpr_subprocess_join_import = (gpr_subprocess_join_type) GetProcAddress(library, "gpr_subprocess_join");
gpr_subprocess_interrupt_import = (gpr_subprocess_interrupt_type) GetProcAddress(library, "gpr_subprocess_interrupt");
gpr_mu_init_import = (gpr_mu_init_type) GetProcAddress(library, "gpr_mu_init"); gpr_mu_init_import = (gpr_mu_init_type) GetProcAddress(library, "gpr_mu_init");
gpr_mu_destroy_import = (gpr_mu_destroy_type) GetProcAddress(library, "gpr_mu_destroy"); gpr_mu_destroy_import = (gpr_mu_destroy_type) GetProcAddress(library, "gpr_mu_destroy");
gpr_mu_lock_import = (gpr_mu_lock_type) GetProcAddress(library, "gpr_mu_lock"); gpr_mu_lock_import = (gpr_mu_lock_type) GetProcAddress(library, "gpr_mu_lock");

@ -35,13 +35,11 @@
#include <grpc/slice_buffer.h> #include <grpc/slice_buffer.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/avl.h> #include <grpc/support/avl.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/cpu.h> #include <grpc/support/cpu.h>
#include <grpc/support/host_port.h> #include <grpc/support/host_port.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/log_windows.h> #include <grpc/support/log_windows.h>
#include <grpc/support/string_util.h> #include <grpc/support/string_util.h>
#include <grpc/support/subprocess.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#include <grpc/support/thd.h> #include <grpc/support/thd.h>
#include <grpc/support/time.h> #include <grpc/support/time.h>
@ -619,33 +617,6 @@ extern gpr_avl_maybe_get_type gpr_avl_maybe_get_import;
typedef int(*gpr_avl_is_empty_type)(gpr_avl avl); typedef int(*gpr_avl_is_empty_type)(gpr_avl avl);
extern gpr_avl_is_empty_type gpr_avl_is_empty_import; extern gpr_avl_is_empty_type gpr_avl_is_empty_import;
#define gpr_avl_is_empty gpr_avl_is_empty_import #define gpr_avl_is_empty gpr_avl_is_empty_import
typedef gpr_cmdline*(*gpr_cmdline_create_type)(const char* description);
extern gpr_cmdline_create_type gpr_cmdline_create_import;
#define gpr_cmdline_create gpr_cmdline_create_import
typedef void(*gpr_cmdline_add_int_type)(gpr_cmdline* cl, const char* name, const char* help, int* value);
extern gpr_cmdline_add_int_type gpr_cmdline_add_int_import;
#define gpr_cmdline_add_int gpr_cmdline_add_int_import
typedef void(*gpr_cmdline_add_flag_type)(gpr_cmdline* cl, const char* name, const char* help, int* value);
extern gpr_cmdline_add_flag_type gpr_cmdline_add_flag_import;
#define gpr_cmdline_add_flag gpr_cmdline_add_flag_import
typedef void(*gpr_cmdline_add_string_type)(gpr_cmdline* cl, const char* name, const char* help, const char** value);
extern gpr_cmdline_add_string_type gpr_cmdline_add_string_import;
#define gpr_cmdline_add_string gpr_cmdline_add_string_import
typedef void(*gpr_cmdline_on_extra_arg_type)(gpr_cmdline* cl, const char* name, const char* help, void (*on_extra_arg)(void* user_data, const char* arg), void* user_data);
extern gpr_cmdline_on_extra_arg_type gpr_cmdline_on_extra_arg_import;
#define gpr_cmdline_on_extra_arg gpr_cmdline_on_extra_arg_import
typedef void(*gpr_cmdline_set_survive_failure_type)(gpr_cmdline* cl);
extern gpr_cmdline_set_survive_failure_type gpr_cmdline_set_survive_failure_import;
#define gpr_cmdline_set_survive_failure gpr_cmdline_set_survive_failure_import
typedef int(*gpr_cmdline_parse_type)(gpr_cmdline* cl, int argc, char** argv);
extern gpr_cmdline_parse_type gpr_cmdline_parse_import;
#define gpr_cmdline_parse gpr_cmdline_parse_import
typedef void(*gpr_cmdline_destroy_type)(gpr_cmdline* cl);
extern gpr_cmdline_destroy_type gpr_cmdline_destroy_import;
#define gpr_cmdline_destroy gpr_cmdline_destroy_import
typedef char*(*gpr_cmdline_usage_string_type)(gpr_cmdline* cl, const char* argv0);
extern gpr_cmdline_usage_string_type gpr_cmdline_usage_string_import;
#define gpr_cmdline_usage_string gpr_cmdline_usage_string_import
typedef unsigned(*gpr_cpu_num_cores_type)(void); typedef unsigned(*gpr_cpu_num_cores_type)(void);
extern gpr_cpu_num_cores_type gpr_cpu_num_cores_import; extern gpr_cpu_num_cores_type gpr_cpu_num_cores_import;
#define gpr_cpu_num_cores gpr_cpu_num_cores_import #define gpr_cpu_num_cores gpr_cpu_num_cores_import
@ -685,21 +656,6 @@ extern gpr_strdup_type gpr_strdup_import;
typedef int(*gpr_asprintf_type)(char** strp, const char* format, ...) GPR_PRINT_FORMAT_CHECK(2, 3); typedef int(*gpr_asprintf_type)(char** strp, const char* format, ...) GPR_PRINT_FORMAT_CHECK(2, 3);
extern gpr_asprintf_type gpr_asprintf_import; extern gpr_asprintf_type gpr_asprintf_import;
#define gpr_asprintf gpr_asprintf_import #define gpr_asprintf gpr_asprintf_import
typedef const char*(*gpr_subprocess_binary_extension_type)();
extern gpr_subprocess_binary_extension_type gpr_subprocess_binary_extension_import;
#define gpr_subprocess_binary_extension gpr_subprocess_binary_extension_import
typedef gpr_subprocess*(*gpr_subprocess_create_type)(int argc, const char** argv);
extern gpr_subprocess_create_type gpr_subprocess_create_import;
#define gpr_subprocess_create gpr_subprocess_create_import
typedef void(*gpr_subprocess_destroy_type)(gpr_subprocess* p);
extern gpr_subprocess_destroy_type gpr_subprocess_destroy_import;
#define gpr_subprocess_destroy gpr_subprocess_destroy_import
typedef int(*gpr_subprocess_join_type)(gpr_subprocess* p);
extern gpr_subprocess_join_type gpr_subprocess_join_import;
#define gpr_subprocess_join gpr_subprocess_join_import
typedef void(*gpr_subprocess_interrupt_type)(gpr_subprocess* p);
extern gpr_subprocess_interrupt_type gpr_subprocess_interrupt_import;
#define gpr_subprocess_interrupt gpr_subprocess_interrupt_import
typedef void(*gpr_mu_init_type)(gpr_mu* mu); typedef void(*gpr_mu_init_type)(gpr_mu* mu);
extern gpr_mu_init_type gpr_mu_init_import; extern gpr_mu_init_type gpr_mu_init_import;
#define gpr_mu_init gpr_mu_init_import #define gpr_mu_init gpr_mu_init_import

@ -25,11 +25,11 @@
#include <grpc/support/host_port.h> #include <grpc/support/host_port.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/string_util.h> #include <grpc/support/string_util.h>
#include <grpc/support/subprocess.h>
#include "src/core/lib/gpr/env.h" #include "src/core/lib/gpr/env.h"
#include "src/core/lib/gpr/string.h" #include "src/core/lib/gpr/string.h"
#include "test/core/end2end/cq_verifier.h" #include "test/core/end2end/cq_verifier.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/subprocess.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"
static void* tag(intptr_t t) { return (void*)t; } static void* tag(intptr_t t) { return (void*)t; }

@ -16,11 +16,11 @@
* *
*/ */
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <signal.h> #include <signal.h>
#include "test/core/bad_ssl/server_common.h" #include "test/core/bad_ssl/server_common.h"
#include "test/core/util/cmdline.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"
/* Common server implementation details for all servers in servers/. /* Common server implementation details for all servers in servers/.

@ -21,11 +21,11 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/time.h> #include <grpc/support/time.h>
#include <grpc/support/useful.h> #include <grpc/support/useful.h>
#include "src/core/lib/profiling/timers.h" #include "src/core/lib/profiling/timers.h"
#include "test/core/util/cmdline.h"
#include "test/core/util/grpc_profiler.h" #include "test/core/util/grpc_profiler.h"
#include "test/core/util/histogram.h" #include "test/core/util/histogram.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"

@ -22,9 +22,10 @@
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/host_port.h> #include <grpc/support/host_port.h>
#include <grpc/support/string_util.h> #include <grpc/support/string_util.h>
#include <grpc/support/subprocess.h>
#include "src/core/lib/gpr/string.h" #include "src/core/lib/gpr/string.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/subprocess.h"
int main(int argc, char** argv) { int main(int argc, char** argv) {
char* me = argv[0]; char* me = argv[0];

@ -22,9 +22,10 @@
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/host_port.h> #include <grpc/support/host_port.h>
#include <grpc/support/string_util.h> #include <grpc/support/string_util.h>
#include <grpc/support/subprocess.h>
#include "src/core/lib/gpr/string.h" #include "src/core/lib/gpr/string.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/subprocess.h"
int main(int argc, const char** argv) { int main(int argc, const char** argv) {
const char* me = argv[0]; const char* me = argv[0];

@ -30,12 +30,12 @@
#endif #endif
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/host_port.h> #include <grpc/support/host_port.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/time.h> #include <grpc/support/time.h>
#include "src/core/lib/profiling/timers.h" #include "src/core/lib/profiling/timers.h"
#include "test/core/end2end/data/ssl_test_data.h" #include "test/core/end2end/data/ssl_test_data.h"
#include "test/core/util/cmdline.h"
#include "test/core/util/grpc_profiler.h" #include "test/core/util/grpc_profiler.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"

@ -38,16 +38,6 @@ grpc_cc_test(
], ],
) )
grpc_cc_test(
name = "cmdline_test",
srcs = ["cmdline_test.cc"],
language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
],
)
grpc_cc_test( grpc_cc_test(
name = "cpu_test", name = "cpu_test",
srcs = ["cpu_test.cc"], srcs = ["cpu_test.cc"],

@ -24,10 +24,11 @@
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/string_util.h> #include <grpc/support/string_util.h>
#include <grpc/support/subprocess.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#include "src/core/lib/iomgr/iomgr.h" #include "src/core/lib/iomgr/iomgr.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/subprocess.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"
static int g_done = 0; static int g_done = 0;

@ -24,10 +24,11 @@
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/string_util.h> #include <grpc/support/string_util.h>
#include <grpc/support/subprocess.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#include "src/core/lib/iomgr/iomgr.h" #include "src/core/lib/iomgr/iomgr.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/subprocess.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"
static int g_done = 0; static int g_done = 0;

@ -20,11 +20,11 @@
#include <stdlib.h> #include <stdlib.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include "src/core/lib/json/json_reader.h" #include "src/core/lib/json/json_reader.h"
#include "src/core/lib/json/json_writer.h" #include "src/core/lib/json/json_writer.h"
#include "test/core/util/cmdline.h"
typedef struct json_writer_userdata { typedef struct json_writer_userdata {
FILE* out; FILE* out;

@ -24,12 +24,13 @@
#include <grpc/byte_buffer.h> #include <grpc/byte_buffer.h>
#include <grpc/byte_buffer_reader.h> #include <grpc/byte_buffer_reader.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/time.h> #include <grpc/support/time.h>
#include <grpc/support/useful.h> #include <grpc/support/useful.h>
#include "src/core/lib/gpr/env.h" #include "src/core/lib/gpr/env.h"
#include "src/core/lib/gpr/string.h" #include "src/core/lib/gpr/string.h"
#include "test/core/util/cmdline.h"
#include "test/core/util/memory_counters.h" #include "test/core/util/memory_counters.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"

@ -22,9 +22,10 @@
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/host_port.h> #include <grpc/support/host_port.h>
#include <grpc/support/string_util.h> #include <grpc/support/string_util.h>
#include <grpc/support/subprocess.h>
#include "src/core/lib/gpr/string.h" #include "src/core/lib/gpr/string.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/subprocess.h"
int main(int argc, char** argv) { int main(int argc, char** argv) {
char* me = argv[0]; char* me = argv[0];

@ -30,11 +30,11 @@
#endif #endif
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/host_port.h> #include <grpc/support/host_port.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/time.h> #include <grpc/support/time.h>
#include "test/core/end2end/data/ssl_test_data.h" #include "test/core/end2end/data/ssl_test_data.h"
#include "test/core/util/cmdline.h"
#include "test/core/util/memory_counters.h" #include "test/core/util/memory_counters.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"

@ -35,13 +35,13 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/thd.h> #include <grpc/support/thd.h>
#include <grpc/support/time.h> #include <grpc/support/time.h>
#include <grpc/support/useful.h> #include <grpc/support/useful.h>
#include "src/core/lib/iomgr/error.h" #include "src/core/lib/iomgr/error.h"
#include "src/core/lib/iomgr/socket_utils_posix.h" #include "src/core/lib/iomgr/socket_utils_posix.h"
#include "test/core/util/cmdline.h"
#include "test/core/util/histogram.h" #include "test/core/util/histogram.h"
typedef struct fd_pair { typedef struct fd_pair {

@ -110,6 +110,7 @@ grpc_cc_binary(
deps = [ deps = [
"//:gpr", "//:gpr",
"//:grpc", "//:grpc",
"//test/core/util:grpc_test_util",
], ],
) )
@ -121,6 +122,7 @@ grpc_cc_binary(
":oauth2_utils", ":oauth2_utils",
"//:gpr", "//:gpr",
"//:grpc", "//:grpc",
"//test/core/util:grpc_test_util",
], ],
) )
@ -131,5 +133,6 @@ grpc_cc_binary(
deps = [ deps = [
"//:gpr", "//:gpr",
"//:grpc", "//:grpc",
"//test/core/util:grpc_test_util",
], ],
) )

@ -24,9 +24,10 @@
#include <grpc/slice.h> #include <grpc/slice.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include "test/core/util/cmdline.h"
void create_jwt(const char* json_key_file_path, const char* service_url, void create_jwt(const char* json_key_file_path, const char* service_url,
const char* scope) { const char* scope) {
grpc_auth_json_key key; grpc_auth_json_key key;

@ -23,13 +23,13 @@
#include <grpc/grpc_security.h> #include <grpc/grpc_security.h>
#include <grpc/slice.h> #include <grpc/slice.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#include "src/core/lib/iomgr/load_file.h" #include "src/core/lib/iomgr/load_file.h"
#include "src/core/lib/security/credentials/credentials.h" #include "src/core/lib/security/credentials/credentials.h"
#include "test/core/security/oauth2_utils.h" #include "test/core/security/oauth2_utils.h"
#include "test/core/util/cmdline.h"
static grpc_call_credentials* create_refresh_token_creds( static grpc_call_credentials* create_refresh_token_creds(
const char* json_refresh_token_file_path) { const char* json_refresh_token_file_path) {

@ -23,7 +23,6 @@
#include <grpc/grpc_security.h> #include <grpc/grpc_security.h>
#include <grpc/slice.h> #include <grpc/slice.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
@ -31,6 +30,7 @@
#include "src/core/lib/security/credentials/composite/composite_credentials.h" #include "src/core/lib/security/credentials/composite/composite_credentials.h"
#include "src/core/lib/security/credentials/credentials.h" #include "src/core/lib/security/credentials/credentials.h"
#include "src/core/lib/slice/slice_string_helpers.h" #include "src/core/lib/slice/slice_string_helpers.h"
#include "test/core/util/cmdline.h"
typedef struct { typedef struct {
gpr_mu* mu; gpr_mu* mu;

@ -23,11 +23,11 @@
#include <grpc/grpc_security.h> #include <grpc/grpc_security.h>
#include <grpc/slice.h> #include <grpc/slice.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#include "src/core/lib/security/credentials/jwt/jwt_verifier.h" #include "src/core/lib/security/credentials/jwt/jwt_verifier.h"
#include "test/core/util/cmdline.h"
typedef struct { typedef struct {
grpc_pollset* pollset; grpc_pollset* pollset;

@ -48,13 +48,11 @@
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/atm.h> #include <grpc/support/atm.h>
#include <grpc/support/avl.h> #include <grpc/support/avl.h>
#include <grpc/support/cmdline.h>
#include <grpc/support/cpu.h> #include <grpc/support/cpu.h>
#include <grpc/support/host_port.h> #include <grpc/support/host_port.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/support/string_util.h> #include <grpc/support/string_util.h>
#include <grpc/support/subprocess.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#include <grpc/support/sync_custom.h> #include <grpc/support/sync_custom.h>
#include <grpc/support/sync_generic.h> #include <grpc/support/sync_generic.h>
@ -255,15 +253,6 @@ int main(int argc, char **argv) {
printf("%lx", (unsigned long) gpr_avl_get); printf("%lx", (unsigned long) gpr_avl_get);
printf("%lx", (unsigned long) gpr_avl_maybe_get); printf("%lx", (unsigned long) gpr_avl_maybe_get);
printf("%lx", (unsigned long) gpr_avl_is_empty); printf("%lx", (unsigned long) gpr_avl_is_empty);
printf("%lx", (unsigned long) gpr_cmdline_create);
printf("%lx", (unsigned long) gpr_cmdline_add_int);
printf("%lx", (unsigned long) gpr_cmdline_add_flag);
printf("%lx", (unsigned long) gpr_cmdline_add_string);
printf("%lx", (unsigned long) gpr_cmdline_on_extra_arg);
printf("%lx", (unsigned long) gpr_cmdline_set_survive_failure);
printf("%lx", (unsigned long) gpr_cmdline_parse);
printf("%lx", (unsigned long) gpr_cmdline_destroy);
printf("%lx", (unsigned long) gpr_cmdline_usage_string);
printf("%lx", (unsigned long) gpr_cpu_num_cores); printf("%lx", (unsigned long) gpr_cpu_num_cores);
printf("%lx", (unsigned long) gpr_cpu_current_cpu); printf("%lx", (unsigned long) gpr_cpu_current_cpu);
printf("%lx", (unsigned long) gpr_join_host_port); printf("%lx", (unsigned long) gpr_join_host_port);
@ -276,11 +265,6 @@ int main(int argc, char **argv) {
printf("%lx", (unsigned long) gpr_set_log_function); printf("%lx", (unsigned long) gpr_set_log_function);
printf("%lx", (unsigned long) gpr_strdup); printf("%lx", (unsigned long) gpr_strdup);
printf("%lx", (unsigned long) gpr_asprintf); printf("%lx", (unsigned long) gpr_asprintf);
printf("%lx", (unsigned long) gpr_subprocess_binary_extension);
printf("%lx", (unsigned long) gpr_subprocess_create);
printf("%lx", (unsigned long) gpr_subprocess_destroy);
printf("%lx", (unsigned long) gpr_subprocess_join);
printf("%lx", (unsigned long) gpr_subprocess_interrupt);
printf("%lx", (unsigned long) gpr_mu_init); printf("%lx", (unsigned long) gpr_mu_init);
printf("%lx", (unsigned long) gpr_mu_destroy); printf("%lx", (unsigned long) gpr_mu_destroy);
printf("%lx", (unsigned long) gpr_mu_lock); printf("%lx", (unsigned long) gpr_mu_lock);

@ -51,6 +51,7 @@ grpc_cc_library(
grpc_cc_library( grpc_cc_library(
name = "grpc_test_util_base", name = "grpc_test_util_base",
srcs = [ srcs = [
"cmdline.cc",
"grpc_profiler.cc", "grpc_profiler.cc",
"histogram.cc", "histogram.cc",
"mock_endpoint.cc", "mock_endpoint.cc",
@ -61,11 +62,14 @@ grpc_cc_library(
"port_server_client.cc", "port_server_client.cc",
"reconnect_server.cc", "reconnect_server.cc",
"slice_splitter.cc", "slice_splitter.cc",
"subprocess_posix.cc",
"subprocess_windows.cc",
"test_tcp_server.cc", "test_tcp_server.cc",
"tracer_util.cc", "tracer_util.cc",
"trickle_endpoint.cc", "trickle_endpoint.cc",
], ],
hdrs = [ hdrs = [
"cmdline.h",
"grpc_profiler.h", "grpc_profiler.h",
"histogram.h", "histogram.h",
"mock_endpoint.h", "mock_endpoint.h",
@ -74,6 +78,7 @@ grpc_cc_library(
"port.h", "port.h",
"port_server_client.h", "port_server_client.h",
"reconnect_server.h", "reconnect_server.h",
"subprocess.h",
"slice_splitter.h", "slice_splitter.h",
"test_tcp_server.h", "test_tcp_server.h",
"tracer_util.h", "tracer_util.h",
@ -109,6 +114,16 @@ grpc_cc_library(
], ],
) )
grpc_cc_test(
name = "cmdline_test",
srcs = ["cmdline_test.cc"],
language = "C++",
deps = [
":grpc_test_util",
"//:gpr",
],
)
grpc_cc_library( grpc_cc_library(
name = "fuzzer_corpus_test", name = "fuzzer_corpus_test",
testonly = 1, testonly = 1,

@ -16,7 +16,7 @@
* *
*/ */
#include <grpc/support/cmdline.h> #include "test/core/util/cmdline.h"
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>

@ -16,8 +16,8 @@
* *
*/ */
#ifndef GRPC_SUPPORT_CMDLINE_H #ifndef GRPC_TEST_CORE_UTIL_CMDLINE_H
#define GRPC_SUPPORT_CMDLINE_H #define GRPC_TEST_CORE_UTIL_CMDLINE_H
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
@ -55,34 +55,34 @@ typedef struct gpr_cmdline gpr_cmdline;
/** Construct a command line parser: takes a short description of the tool /** Construct a command line parser: takes a short description of the tool
doing the parsing */ doing the parsing */
GPRAPI gpr_cmdline* gpr_cmdline_create(const char* description); gpr_cmdline* gpr_cmdline_create(const char* description);
/** Add an integer parameter, with a name (used on the command line) and some /** Add an integer parameter, with a name (used on the command line) and some
helpful text (used in the command usage) */ helpful text (used in the command usage) */
GPRAPI void gpr_cmdline_add_int(gpr_cmdline* cl, const char* name, void gpr_cmdline_add_int(gpr_cmdline* cl, const char* name, const char* help,
const char* help, int* value); int* value);
/** The same, for a boolean flag */ /** The same, for a boolean flag */
GPRAPI void gpr_cmdline_add_flag(gpr_cmdline* cl, const char* name, void gpr_cmdline_add_flag(gpr_cmdline* cl, const char* name, const char* help,
const char* help, int* value); int* value);
/** And for a string */ /** And for a string */
GPRAPI void gpr_cmdline_add_string(gpr_cmdline* cl, const char* name, void gpr_cmdline_add_string(gpr_cmdline* cl, const char* name, const char* help,
const char* help, const char** value); const char** value);
/** Set a callback for non-named arguments */ /** Set a callback for non-named arguments */
GPRAPI void gpr_cmdline_on_extra_arg( void gpr_cmdline_on_extra_arg(
gpr_cmdline* cl, const char* name, const char* help, gpr_cmdline* cl, const char* name, const char* help,
void (*on_extra_arg)(void* user_data, const char* arg), void* user_data); void (*on_extra_arg)(void* user_data, const char* arg), void* user_data);
/** Enable surviving failure: default behavior is to exit the process */ /** Enable surviving failure: default behavior is to exit the process */
GPRAPI void gpr_cmdline_set_survive_failure(gpr_cmdline* cl); void gpr_cmdline_set_survive_failure(gpr_cmdline* cl);
/** Parse the command line; returns 1 on success, on failure either dies /** Parse the command line; returns 1 on success, on failure either dies
(by default) or returns 0 if gpr_cmdline_set_survive_failure() has been (by default) or returns 0 if gpr_cmdline_set_survive_failure() has been
called */ called */
GPRAPI int gpr_cmdline_parse(gpr_cmdline* cl, int argc, char** argv); int gpr_cmdline_parse(gpr_cmdline* cl, int argc, char** argv);
/** Destroy the parser */ /** Destroy the parser */
GPRAPI void gpr_cmdline_destroy(gpr_cmdline* cl); void gpr_cmdline_destroy(gpr_cmdline* cl);
/** Get a string describing usage */ /** Get a string describing usage */
GPRAPI char* gpr_cmdline_usage_string(gpr_cmdline* cl, const char* argv0); char* gpr_cmdline_usage_string(gpr_cmdline* cl, const char* argv0);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* GRPC_SUPPORT_CMDLINE_H */ #endif /* GRPC_TEST_CORE_UTIL_CMDLINE_H */

@ -16,13 +16,13 @@
* *
*/ */
#include <grpc/support/cmdline.h>
#include <string.h> #include <string.h>
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/useful.h> #include <grpc/support/useful.h>
#include "test/core/util/cmdline.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"
#define LOG_TEST() gpr_log(GPR_INFO, "test at %s:%d", __FILE__, __LINE__) #define LOG_TEST() gpr_log(GPR_INFO, "test at %s:%d", __FILE__, __LINE__)

@ -16,8 +16,8 @@
* *
*/ */
#ifndef GRPC_SUPPORT_SUBPROCESS_H #ifndef GRPC_TEST_CORE_UTIL_SUBPROCESS_H
#define GRPC_SUPPORT_SUBPROCESS_H #define GRPC_TEST_CORE_UTIL_SUBPROCESS_H
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
@ -28,17 +28,17 @@ extern "C" {
typedef struct gpr_subprocess gpr_subprocess; typedef struct gpr_subprocess gpr_subprocess;
/** .exe on windows, empty on unices */ /** .exe on windows, empty on unices */
GPRAPI const char* gpr_subprocess_binary_extension(); const char* gpr_subprocess_binary_extension();
GPRAPI gpr_subprocess* gpr_subprocess_create(int argc, const char** argv); gpr_subprocess* gpr_subprocess_create(int argc, const char** argv);
/** if subprocess has not been joined, kill it */ /** if subprocess has not been joined, kill it */
GPRAPI void gpr_subprocess_destroy(gpr_subprocess* p); void gpr_subprocess_destroy(gpr_subprocess* p);
/** returns exit status; can be called at most once */ /** returns exit status; can be called at most once */
GPRAPI int gpr_subprocess_join(gpr_subprocess* p); int gpr_subprocess_join(gpr_subprocess* p);
GPRAPI void gpr_subprocess_interrupt(gpr_subprocess* p); void gpr_subprocess_interrupt(gpr_subprocess* p);
#ifdef __cplusplus #ifdef __cplusplus
} // extern "C" } // extern "C"
#endif #endif
#endif /* GRPC_SUPPORT_SUBPROCESS_H */ #endif /* GRPC_TEST_CORE_UTIL_SUBPROCESS_H */

@ -20,8 +20,6 @@
#ifdef GPR_POSIX_SUBPROCESS #ifdef GPR_POSIX_SUBPROCESS
#include <grpc/support/subprocess.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <signal.h> #include <signal.h>
@ -36,6 +34,8 @@
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include "test/core/util/subprocess.h"
struct gpr_subprocess { struct gpr_subprocess {
int pid; int pid;
bool joined; bool joined;

@ -26,9 +26,9 @@
#include <grpc/support/alloc.h> #include <grpc/support/alloc.h>
#include <grpc/support/log.h> #include <grpc/support/log.h>
#include <grpc/support/subprocess.h>
#include "src/core/lib/gpr/string.h" #include "src/core/lib/gpr/string.h"
#include "src/core/lib/gpr/string_windows.h" #include "src/core/lib/gpr/string_windows.h"
#include "test/core/util/subprocess.h"
struct gpr_subprocess { struct gpr_subprocess {
PROCESS_INFORMATION pi; PROCESS_INFORMATION pi;

@ -74,6 +74,7 @@ grpc_cc_library(
deps = [ deps = [
"//:grpc++", "//:grpc++",
"//test/core/end2end:ssl_test_data", "//test/core/end2end:ssl_test_data",
"//test/core/util:grpc_test_util",
], ],
external_deps = [ external_deps = [
"protobuf", "protobuf",
@ -86,6 +87,7 @@ grpc_cc_library(
hdrs = GRPCXX_TESTUTIL_HDRS, hdrs = GRPCXX_TESTUTIL_HDRS,
deps = [ deps = [
"//:grpc++_unsecure", "//:grpc++_unsecure",
"//test/core/util:grpc_test_util",
], ],
external_deps = [ external_deps = [
"protobuf", "protobuf",

@ -20,7 +20,7 @@
#include <vector> #include <vector>
#include <grpc/support/subprocess.h> #include "test/core/util/subprocess.h"
namespace grpc { namespace grpc {

@ -911,14 +911,12 @@ include/grpc/support/atm_gcc_atomic.h \
include/grpc/support/atm_gcc_sync.h \ include/grpc/support/atm_gcc_sync.h \
include/grpc/support/atm_windows.h \ include/grpc/support/atm_windows.h \
include/grpc/support/avl.h \ include/grpc/support/avl.h \
include/grpc/support/cmdline.h \
include/grpc/support/cpu.h \ include/grpc/support/cpu.h \
include/grpc/support/host_port.h \ include/grpc/support/host_port.h \
include/grpc/support/log.h \ include/grpc/support/log.h \
include/grpc/support/log_windows.h \ include/grpc/support/log_windows.h \
include/grpc/support/port_platform.h \ include/grpc/support/port_platform.h \
include/grpc/support/string_util.h \ include/grpc/support/string_util.h \
include/grpc/support/subprocess.h \
include/grpc/support/sync.h \ include/grpc/support/sync.h \
include/grpc/support/sync_custom.h \ include/grpc/support/sync_custom.h \
include/grpc/support/sync_generic.h \ include/grpc/support/sync_generic.h \

@ -912,14 +912,12 @@ include/grpc/support/atm_gcc_atomic.h \
include/grpc/support/atm_gcc_sync.h \ include/grpc/support/atm_gcc_sync.h \
include/grpc/support/atm_windows.h \ include/grpc/support/atm_windows.h \
include/grpc/support/avl.h \ include/grpc/support/avl.h \
include/grpc/support/cmdline.h \
include/grpc/support/cpu.h \ include/grpc/support/cpu.h \
include/grpc/support/host_port.h \ include/grpc/support/host_port.h \
include/grpc/support/log.h \ include/grpc/support/log.h \
include/grpc/support/log_windows.h \ include/grpc/support/log_windows.h \
include/grpc/support/port_platform.h \ include/grpc/support/port_platform.h \
include/grpc/support/string_util.h \ include/grpc/support/string_util.h \
include/grpc/support/subprocess.h \
include/grpc/support/sync.h \ include/grpc/support/sync.h \
include/grpc/support/sync_custom.h \ include/grpc/support/sync_custom.h \
include/grpc/support/sync_generic.h \ include/grpc/support/sync_generic.h \

@ -851,14 +851,12 @@ include/grpc/support/atm_gcc_atomic.h \
include/grpc/support/atm_gcc_sync.h \ include/grpc/support/atm_gcc_sync.h \
include/grpc/support/atm_windows.h \ include/grpc/support/atm_windows.h \
include/grpc/support/avl.h \ include/grpc/support/avl.h \
include/grpc/support/cmdline.h \
include/grpc/support/cpu.h \ include/grpc/support/cpu.h \
include/grpc/support/host_port.h \ include/grpc/support/host_port.h \
include/grpc/support/log.h \ include/grpc/support/log.h \
include/grpc/support/log_windows.h \ include/grpc/support/log_windows.h \
include/grpc/support/port_platform.h \ include/grpc/support/port_platform.h \
include/grpc/support/string_util.h \ include/grpc/support/string_util.h \
include/grpc/support/subprocess.h \
include/grpc/support/sync.h \ include/grpc/support/sync.h \
include/grpc/support/sync_custom.h \ include/grpc/support/sync_custom.h \
include/grpc/support/sync_generic.h \ include/grpc/support/sync_generic.h \

@ -851,14 +851,12 @@ include/grpc/support/atm_gcc_atomic.h \
include/grpc/support/atm_gcc_sync.h \ include/grpc/support/atm_gcc_sync.h \
include/grpc/support/atm_windows.h \ include/grpc/support/atm_windows.h \
include/grpc/support/avl.h \ include/grpc/support/avl.h \
include/grpc/support/cmdline.h \
include/grpc/support/cpu.h \ include/grpc/support/cpu.h \
include/grpc/support/host_port.h \ include/grpc/support/host_port.h \
include/grpc/support/log.h \ include/grpc/support/log.h \
include/grpc/support/log_windows.h \ include/grpc/support/log_windows.h \
include/grpc/support/port_platform.h \ include/grpc/support/port_platform.h \
include/grpc/support/string_util.h \ include/grpc/support/string_util.h \
include/grpc/support/subprocess.h \
include/grpc/support/sync.h \ include/grpc/support/sync.h \
include/grpc/support/sync_custom.h \ include/grpc/support/sync_custom.h \
include/grpc/support/sync_generic.h \ include/grpc/support/sync_generic.h \
@ -1074,7 +1072,6 @@ src/core/lib/gpr/arena.cc \
src/core/lib/gpr/arena.h \ src/core/lib/gpr/arena.h \
src/core/lib/gpr/atm.cc \ src/core/lib/gpr/atm.cc \
src/core/lib/gpr/avl.cc \ src/core/lib/gpr/avl.cc \
src/core/lib/gpr/cmdline.cc \
src/core/lib/gpr/cpu_iphone.cc \ src/core/lib/gpr/cpu_iphone.cc \
src/core/lib/gpr/cpu_linux.cc \ src/core/lib/gpr/cpu_linux.cc \
src/core/lib/gpr/cpu_posix.cc \ src/core/lib/gpr/cpu_posix.cc \
@ -1102,8 +1099,6 @@ src/core/lib/gpr/string_posix.cc \
src/core/lib/gpr/string_util_windows.cc \ src/core/lib/gpr/string_util_windows.cc \
src/core/lib/gpr/string_windows.cc \ src/core/lib/gpr/string_windows.cc \
src/core/lib/gpr/string_windows.h \ src/core/lib/gpr/string_windows.h \
src/core/lib/gpr/subprocess_posix.cc \
src/core/lib/gpr/subprocess_windows.cc \
src/core/lib/gpr/sync.cc \ src/core/lib/gpr/sync.cc \
src/core/lib/gpr/sync_posix.cc \ src/core/lib/gpr/sync_posix.cc \
src/core/lib/gpr/sync_windows.cc \ src/core/lib/gpr/sync_windows.cc \

@ -264,6 +264,22 @@
"third_party": false, "third_party": false,
"type": "target" "type": "target"
}, },
{
"deps": [
"gpr",
"gpr_test_util",
"grpc_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c",
"name": "cmdline_test",
"src": [
"test/core/util/cmdline_test.cc"
],
"third_party": false,
"type": "target"
},
{ {
"deps": [ "deps": [
"gpr", "gpr",
@ -602,21 +618,6 @@
"third_party": false, "third_party": false,
"type": "target" "type": "target"
}, },
{
"deps": [
"gpr",
"gpr_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c",
"name": "gpr_cmdline_test",
"src": [
"test/core/gpr/cmdline_test.cc"
],
"third_party": false,
"type": "target"
},
{ {
"deps": [ "deps": [
"gpr", "gpr",
@ -951,7 +952,9 @@
{ {
"deps": [ "deps": [
"gpr", "gpr",
"grpc" "gpr_test_util",
"grpc",
"grpc_test_util"
], ],
"headers": [], "headers": [],
"is_filegroup": false, "is_filegroup": false,
@ -1051,7 +1054,9 @@
{ {
"deps": [ "deps": [
"gpr", "gpr",
"grpc" "gpr_test_util",
"grpc",
"grpc_test_util"
], ],
"headers": [], "headers": [],
"is_filegroup": false, "is_filegroup": false,
@ -1100,7 +1105,9 @@
{ {
"deps": [ "deps": [
"gpr", "gpr",
"grpc" "gpr_test_util",
"grpc",
"grpc_test_util"
], ],
"headers": [], "headers": [],
"is_filegroup": false, "is_filegroup": false,
@ -1393,7 +1400,9 @@
{ {
"deps": [ "deps": [
"gpr", "gpr",
"grpc" "gpr_test_util",
"grpc",
"grpc_test_util"
], ],
"headers": [], "headers": [],
"is_filegroup": false, "is_filegroup": false,
@ -7850,7 +7859,6 @@
"src/core/lib/gpr/arena.cc", "src/core/lib/gpr/arena.cc",
"src/core/lib/gpr/atm.cc", "src/core/lib/gpr/atm.cc",
"src/core/lib/gpr/avl.cc", "src/core/lib/gpr/avl.cc",
"src/core/lib/gpr/cmdline.cc",
"src/core/lib/gpr/cpu_iphone.cc", "src/core/lib/gpr/cpu_iphone.cc",
"src/core/lib/gpr/cpu_linux.cc", "src/core/lib/gpr/cpu_linux.cc",
"src/core/lib/gpr/cpu_posix.cc", "src/core/lib/gpr/cpu_posix.cc",
@ -7871,8 +7879,6 @@
"src/core/lib/gpr/string_posix.cc", "src/core/lib/gpr/string_posix.cc",
"src/core/lib/gpr/string_util_windows.cc", "src/core/lib/gpr/string_util_windows.cc",
"src/core/lib/gpr/string_windows.cc", "src/core/lib/gpr/string_windows.cc",
"src/core/lib/gpr/subprocess_posix.cc",
"src/core/lib/gpr/subprocess_windows.cc",
"src/core/lib/gpr/sync.cc", "src/core/lib/gpr/sync.cc",
"src/core/lib/gpr/sync_posix.cc", "src/core/lib/gpr/sync_posix.cc",
"src/core/lib/gpr/sync_windows.cc", "src/core/lib/gpr/sync_windows.cc",
@ -7905,14 +7911,12 @@
"include/grpc/support/atm_gcc_sync.h", "include/grpc/support/atm_gcc_sync.h",
"include/grpc/support/atm_windows.h", "include/grpc/support/atm_windows.h",
"include/grpc/support/avl.h", "include/grpc/support/avl.h",
"include/grpc/support/cmdline.h",
"include/grpc/support/cpu.h", "include/grpc/support/cpu.h",
"include/grpc/support/host_port.h", "include/grpc/support/host_port.h",
"include/grpc/support/log.h", "include/grpc/support/log.h",
"include/grpc/support/log_windows.h", "include/grpc/support/log_windows.h",
"include/grpc/support/port_platform.h", "include/grpc/support/port_platform.h",
"include/grpc/support/string_util.h", "include/grpc/support/string_util.h",
"include/grpc/support/subprocess.h",
"include/grpc/support/sync.h", "include/grpc/support/sync.h",
"include/grpc/support/sync_custom.h", "include/grpc/support/sync_custom.h",
"include/grpc/support/sync_generic.h", "include/grpc/support/sync_generic.h",
@ -7954,14 +7958,12 @@
"include/grpc/support/atm_gcc_sync.h", "include/grpc/support/atm_gcc_sync.h",
"include/grpc/support/atm_windows.h", "include/grpc/support/atm_windows.h",
"include/grpc/support/avl.h", "include/grpc/support/avl.h",
"include/grpc/support/cmdline.h",
"include/grpc/support/cpu.h", "include/grpc/support/cpu.h",
"include/grpc/support/host_port.h", "include/grpc/support/host_port.h",
"include/grpc/support/log.h", "include/grpc/support/log.h",
"include/grpc/support/log_windows.h", "include/grpc/support/log_windows.h",
"include/grpc/support/port_platform.h", "include/grpc/support/port_platform.h",
"include/grpc/support/string_util.h", "include/grpc/support/string_util.h",
"include/grpc/support/subprocess.h",
"include/grpc/support/sync.h", "include/grpc/support/sync.h",
"include/grpc/support/sync_custom.h", "include/grpc/support/sync_custom.h",
"include/grpc/support/sync_generic.h", "include/grpc/support/sync_generic.h",
@ -9026,6 +9028,7 @@
"test/core/end2end/fixtures/http_proxy_fixture.h", "test/core/end2end/fixtures/http_proxy_fixture.h",
"test/core/end2end/fixtures/proxy.h", "test/core/end2end/fixtures/proxy.h",
"test/core/iomgr/endpoint_tests.h", "test/core/iomgr/endpoint_tests.h",
"test/core/util/cmdline.h",
"test/core/util/debugger_macros.h", "test/core/util/debugger_macros.h",
"test/core/util/grpc_profiler.h", "test/core/util/grpc_profiler.h",
"test/core/util/histogram.h", "test/core/util/histogram.h",
@ -9036,6 +9039,7 @@
"test/core/util/port.h", "test/core/util/port.h",
"test/core/util/port_server_client.h", "test/core/util/port_server_client.h",
"test/core/util/slice_splitter.h", "test/core/util/slice_splitter.h",
"test/core/util/subprocess.h",
"test/core/util/tracer_util.h", "test/core/util/tracer_util.h",
"test/core/util/trickle_endpoint.h" "test/core/util/trickle_endpoint.h"
], ],
@ -9053,6 +9057,8 @@
"test/core/end2end/fixtures/proxy.h", "test/core/end2end/fixtures/proxy.h",
"test/core/iomgr/endpoint_tests.cc", "test/core/iomgr/endpoint_tests.cc",
"test/core/iomgr/endpoint_tests.h", "test/core/iomgr/endpoint_tests.h",
"test/core/util/cmdline.cc",
"test/core/util/cmdline.h",
"test/core/util/debugger_macros.cc", "test/core/util/debugger_macros.cc",
"test/core/util/debugger_macros.h", "test/core/util/debugger_macros.h",
"test/core/util/grpc_profiler.cc", "test/core/util/grpc_profiler.cc",
@ -9074,6 +9080,9 @@
"test/core/util/port_server_client.h", "test/core/util/port_server_client.h",
"test/core/util/slice_splitter.cc", "test/core/util/slice_splitter.cc",
"test/core/util/slice_splitter.h", "test/core/util/slice_splitter.h",
"test/core/util/subprocess.h",
"test/core/util/subprocess_posix.cc",
"test/core/util/subprocess_windows.cc",
"test/core/util/tracer_util.cc", "test/core/util/tracer_util.cc",
"test/core/util/tracer_util.h", "test/core/util/tracer_util.h",
"test/core/util/trickle_endpoint.cc", "test/core/util/trickle_endpoint.cc",

@ -315,6 +315,30 @@
], ],
"uses_polling": false "uses_polling": false
}, },
{
"args": [],
"benchmark": false,
"ci_platforms": [
"linux",
"mac",
"posix",
"windows"
],
"cpu_cost": 1.0,
"exclude_configs": [],
"exclude_iomgrs": [],
"flaky": false,
"gtest": false,
"language": "c",
"name": "cmdline_test",
"platforms": [
"linux",
"mac",
"posix",
"windows"
],
"uses_polling": false
},
{ {
"args": [], "args": [],
"benchmark": false, "benchmark": false,
@ -743,30 +767,6 @@
], ],
"uses_polling": false "uses_polling": false
}, },
{
"args": [],
"benchmark": false,
"ci_platforms": [
"linux",
"mac",
"posix",
"windows"
],
"cpu_cost": 1.0,
"exclude_configs": [],
"exclude_iomgrs": [],
"flaky": false,
"gtest": false,
"language": "c",
"name": "gpr_cmdline_test",
"platforms": [
"linux",
"mac",
"posix",
"windows"
],
"uses_polling": false
},
{ {
"args": [], "args": [],
"benchmark": false, "benchmark": false,

Loading…
Cancel
Save