chore: migrate containeranalysis to the Python microgenerator
PiperOrigin-RevId: 326098601
This commit is contained in:
parent
49784a3e80
commit
0034982410
|
|
@ -147,50 +147,19 @@ go_proto_library(
|
|||
##############################################################################
|
||||
# Python
|
||||
##############################################################################
|
||||
# This library is using Python microgenerator.
|
||||
# DO NOT OVERRIDE this Python section with autogenerated rules.
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"moved_proto_library",
|
||||
"py_gapic_assembly_pkg",
|
||||
"py_gapic_library",
|
||||
"py_grpc_library",
|
||||
"py_proto_library",
|
||||
)
|
||||
|
||||
moved_proto_library(
|
||||
name = "containeranalysis_moved_proto",
|
||||
srcs = [":containeranalysis_proto"],
|
||||
deps = [
|
||||
"//google/api:annotations_proto",
|
||||
"//google/api:client_proto",
|
||||
"//google/iam/v1:iam_policy_proto",
|
||||
"//google/iam/v1:policy_proto",
|
||||
"@com_google_protobuf//:timestamp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
py_proto_library(
|
||||
name = "containeranalysis_py_proto",
|
||||
plugin = "@protoc_docs_plugin//:docs_plugin",
|
||||
deps = [":containeranalysis_moved_proto"],
|
||||
)
|
||||
|
||||
py_grpc_library(
|
||||
name = "containeranalysis_py_grpc",
|
||||
srcs = [":containeranalysis_moved_proto"],
|
||||
deps = [":containeranalysis_py_proto"],
|
||||
py_gapic_assembly_pkg = "py_gapic_assembly_pkg2",
|
||||
py_gapic_library = "py_gapic_library2",
|
||||
)
|
||||
|
||||
py_gapic_library(
|
||||
name = "containeranalysis_py_gapic",
|
||||
src = ":containeranalysis_proto_with_info",
|
||||
gapic_yaml = "containeranalysis_gapic.yaml",
|
||||
srcs = [":containeranalysis_proto"],
|
||||
grpc_service_config = "containeranalysis_grpc_service_config.json",
|
||||
package = "google.devtools.containeranalysis.v1",
|
||||
service_yaml = "containeranalysis_v1.yaml",
|
||||
deps = [
|
||||
":containeranalysis_py_grpc",
|
||||
":containeranalysis_py_proto",
|
||||
],
|
||||
opt_args = ["python-gapic-namespace=google.cloud.devtools"],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
|
|
@ -198,8 +167,6 @@ py_gapic_assembly_pkg(
|
|||
name = "devtools-containeranalysis-v1-py",
|
||||
deps = [
|
||||
":containeranalysis_py_gapic",
|
||||
":containeranalysis_py_grpc",
|
||||
":containeranalysis_py_proto",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue