|
| 1 | +package(default_visibility = ["//visibility:public"]) |
| 2 | + |
| 3 | +load("//apis:rules.bzl", "gapic_generator_codegen") |
| 4 | + |
| 5 | +gapic_generator_codegen( |
| 6 | + name = "gapic", |
| 7 | + outs = [ |
| 8 | + "deployment_gapicout/Improbable.SpatialOS.Deployment.V1Beta1/Improbable.SpatialOS.Deployment.V1Beta1/DeploymentServiceClient.cs" |
| 9 | + ], |
| 10 | + descriptor_set = "//apis:platform_api_descriptor_set", |
| 11 | + gapic_yaml = "@improbable_platform//proto/improbable/spatialos/deployment/v1beta1:csharp_gapic", |
| 12 | + package_yaml = "//apis:package_yaml", |
| 13 | + service_yaml = "@improbable_platform//proto/improbable/spatialos/deployment:deployment_v1beta1.yaml", |
| 14 | +) |
| 15 | + |
| 16 | +load("@org_pubref_rules_protobuf//csharp:rules.bzl", "csharp_proto_compile") |
| 17 | +csharp_proto_compile( |
| 18 | + name = "grpc", |
| 19 | + imports = [ |
| 20 | + "external/com_github_googleapis_googleapis/", |
| 21 | + "external/com_github_improbable_io_go_proto_logfields_proto/", |
| 22 | + "external/com_github_mwitkow_go_proto_validators_proto/", |
| 23 | + "external/com_google_protobuf/src/", |
| 24 | + "external/improbable_protoc_gen_gocli/", |
| 25 | + ], |
| 26 | + inputs = [ |
| 27 | + "@com_github_googleapis_googleapis//:important_protos", |
| 28 | + "@com_github_mwitkow_go_proto_validators_proto//:proto", |
| 29 | + "@com_github_improbable_io_go_proto_logfields_proto//:proto", |
| 30 | + "@com_google_protobuf//:well_known_protos", |
| 31 | + "@improbable_protoc_gen_gocli//:proto", |
| 32 | + ], |
| 33 | + protos = [ |
| 34 | + "@improbable_platform//proto/improbable/spatialos/deployment/v1beta1:protos", |
| 35 | + ], |
| 36 | + with_grpc = True, |
| 37 | +) |
0 commit comments