|
|
@ -238,6 +238,8 @@ def _external_dep_name_from_bazel_dependency(bazel_dep): |
|
|
|
return 'upb' |
|
|
|
return 'upb' |
|
|
|
elif bazel_dep == '//external:benchmark': |
|
|
|
elif bazel_dep == '//external:benchmark': |
|
|
|
return 'benchmark' |
|
|
|
return 'benchmark' |
|
|
|
|
|
|
|
elif bazel_dep == '//external:libssl': |
|
|
|
|
|
|
|
return 'libssl' |
|
|
|
else: |
|
|
|
else: |
|
|
|
# all the other external deps such as protobuf, cares, zlib |
|
|
|
# all the other external deps such as protobuf, cares, zlib |
|
|
|
# don't need to be listed explicitly, they are handled automatically |
|
|
|
# don't need to be listed explicitly, they are handled automatically |
|
|
@ -627,24 +629,20 @@ def _detect_and_print_issues(build_yaml_like): |
|
|
|
# there are mostly extra properties that we weren't able to obtain from the bazel build |
|
|
|
# there are mostly extra properties that we weren't able to obtain from the bazel build |
|
|
|
# _TYPE: whether this is library, target or test |
|
|
|
# _TYPE: whether this is library, target or test |
|
|
|
# _RENAME: whether this target should be renamed to a different name (to match expectations of make and cmake builds) |
|
|
|
# _RENAME: whether this target should be renamed to a different name (to match expectations of make and cmake builds) |
|
|
|
# NOTE: secure is 'check' by default, so setting secure = False below does matter |
|
|
|
|
|
|
|
_BUILD_EXTRA_METADATA = { |
|
|
|
_BUILD_EXTRA_METADATA = { |
|
|
|
'third_party/address_sorting:address_sorting': { |
|
|
|
'third_party/address_sorting:address_sorting': { |
|
|
|
'language': 'c', |
|
|
|
'language': 'c', |
|
|
|
'build': 'all', |
|
|
|
'build': 'all', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_RENAME': 'address_sorting' |
|
|
|
'_RENAME': 'address_sorting' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'gpr': { |
|
|
|
'gpr': { |
|
|
|
'language': 'c', |
|
|
|
'language': 'c', |
|
|
|
'build': 'all', |
|
|
|
'build': 'all', |
|
|
|
'secure': False |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
'grpc': { |
|
|
|
'grpc': { |
|
|
|
'language': 'c', |
|
|
|
'language': 'c', |
|
|
|
'build': 'all', |
|
|
|
'build': 'all', |
|
|
|
'baselib': True, |
|
|
|
'baselib': True, |
|
|
|
'secure': True, |
|
|
|
|
|
|
|
'generate_plugin_registry': True |
|
|
|
'generate_plugin_registry': True |
|
|
|
}, |
|
|
|
}, |
|
|
|
'grpc++': { |
|
|
|
'grpc++': { |
|
|
@ -669,7 +667,6 @@ _BUILD_EXTRA_METADATA = { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'all', |
|
|
|
'build': 'all', |
|
|
|
'baselib': True, |
|
|
|
'baselib': True, |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
# TODO(jtattermusch): do we need to set grpc_csharp_ext's LDFLAGS for wrapping memcpy in the same way as in build.yaml? |
|
|
|
# TODO(jtattermusch): do we need to set grpc_csharp_ext's LDFLAGS for wrapping memcpy in the same way as in build.yaml? |
|
|
|
'grpc_csharp_ext': { |
|
|
|
'grpc_csharp_ext': { |
|
|
@ -680,7 +677,6 @@ _BUILD_EXTRA_METADATA = { |
|
|
|
'language': 'c', |
|
|
|
'language': 'c', |
|
|
|
'build': 'all', |
|
|
|
'build': 'all', |
|
|
|
'baselib': True, |
|
|
|
'baselib': True, |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'generate_plugin_registry': True |
|
|
|
'generate_plugin_registry': True |
|
|
|
}, |
|
|
|
}, |
|
|
|
'grpcpp_channelz': { |
|
|
|
'grpcpp_channelz': { |
|
|
@ -694,55 +690,47 @@ _BUILD_EXTRA_METADATA = { |
|
|
|
'src/compiler:grpc_plugin_support': { |
|
|
|
'src/compiler:grpc_plugin_support': { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'protoc', |
|
|
|
'build': 'protoc', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_RENAME': 'grpc_plugin_support' |
|
|
|
'_RENAME': 'grpc_plugin_support' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'src/compiler:grpc_cpp_plugin': { |
|
|
|
'src/compiler:grpc_cpp_plugin': { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'protoc', |
|
|
|
'build': 'protoc', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_TYPE': 'target', |
|
|
|
'_TYPE': 'target', |
|
|
|
'_RENAME': 'grpc_cpp_plugin' |
|
|
|
'_RENAME': 'grpc_cpp_plugin' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'src/compiler:grpc_csharp_plugin': { |
|
|
|
'src/compiler:grpc_csharp_plugin': { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'protoc', |
|
|
|
'build': 'protoc', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_TYPE': 'target', |
|
|
|
'_TYPE': 'target', |
|
|
|
'_RENAME': 'grpc_csharp_plugin' |
|
|
|
'_RENAME': 'grpc_csharp_plugin' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'src/compiler:grpc_node_plugin': { |
|
|
|
'src/compiler:grpc_node_plugin': { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'protoc', |
|
|
|
'build': 'protoc', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_TYPE': 'target', |
|
|
|
'_TYPE': 'target', |
|
|
|
'_RENAME': 'grpc_node_plugin' |
|
|
|
'_RENAME': 'grpc_node_plugin' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'src/compiler:grpc_objective_c_plugin': { |
|
|
|
'src/compiler:grpc_objective_c_plugin': { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'protoc', |
|
|
|
'build': 'protoc', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_TYPE': 'target', |
|
|
|
'_TYPE': 'target', |
|
|
|
'_RENAME': 'grpc_objective_c_plugin' |
|
|
|
'_RENAME': 'grpc_objective_c_plugin' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'src/compiler:grpc_php_plugin': { |
|
|
|
'src/compiler:grpc_php_plugin': { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'protoc', |
|
|
|
'build': 'protoc', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_TYPE': 'target', |
|
|
|
'_TYPE': 'target', |
|
|
|
'_RENAME': 'grpc_php_plugin' |
|
|
|
'_RENAME': 'grpc_php_plugin' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'src/compiler:grpc_python_plugin': { |
|
|
|
'src/compiler:grpc_python_plugin': { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'protoc', |
|
|
|
'build': 'protoc', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_TYPE': 'target', |
|
|
|
'_TYPE': 'target', |
|
|
|
'_RENAME': 'grpc_python_plugin' |
|
|
|
'_RENAME': 'grpc_python_plugin' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'src/compiler:grpc_ruby_plugin': { |
|
|
|
'src/compiler:grpc_ruby_plugin': { |
|
|
|
'language': 'c++', |
|
|
|
'language': 'c++', |
|
|
|
'build': 'protoc', |
|
|
|
'build': 'protoc', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_TYPE': 'target', |
|
|
|
'_TYPE': 'target', |
|
|
|
'_RENAME': 'grpc_ruby_plugin' |
|
|
|
'_RENAME': 'grpc_ruby_plugin' |
|
|
|
}, |
|
|
|
}, |
|
|
@ -758,7 +746,6 @@ _BUILD_EXTRA_METADATA = { |
|
|
|
'test/core/util:grpc_test_util_unsecure': { |
|
|
|
'test/core/util:grpc_test_util_unsecure': { |
|
|
|
'language': 'c', |
|
|
|
'language': 'c', |
|
|
|
'build': 'private', |
|
|
|
'build': 'private', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_RENAME': 'grpc_test_util_unsecure' |
|
|
|
'_RENAME': 'grpc_test_util_unsecure' |
|
|
|
}, |
|
|
|
}, |
|
|
|
# TODO(jtattermusch): consider adding grpc++_test_util_unsecure - it doesn't seem to be used by bazel build (don't forget to set secure: False) |
|
|
|
# TODO(jtattermusch): consider adding grpc++_test_util_unsecure - it doesn't seem to be used by bazel build (don't forget to set secure: False) |
|
|
@ -777,13 +764,11 @@ _BUILD_EXTRA_METADATA = { |
|
|
|
'test/core/end2end:end2end_tests': { |
|
|
|
'test/core/end2end:end2end_tests': { |
|
|
|
'language': 'c', |
|
|
|
'language': 'c', |
|
|
|
'build': 'private', |
|
|
|
'build': 'private', |
|
|
|
'secure': True, |
|
|
|
|
|
|
|
'_RENAME': 'end2end_tests' |
|
|
|
'_RENAME': 'end2end_tests' |
|
|
|
}, |
|
|
|
}, |
|
|
|
'test/core/end2end:end2end_nosec_tests': { |
|
|
|
'test/core/end2end:end2end_nosec_tests': { |
|
|
|
'language': 'c', |
|
|
|
'language': 'c', |
|
|
|
'build': 'private', |
|
|
|
'build': 'private', |
|
|
|
'secure': False, |
|
|
|
|
|
|
|
'_RENAME': 'end2end_nosec_tests' |
|
|
|
'_RENAME': 'end2end_nosec_tests' |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|