@@ -380,50 +380,47 @@ nodejs_gapic_assembly_pkg(
380380##############################################################################
381381# C#
382382##############################################################################
383- # TODO(b/337043087#comment3): Re-enable this C# section once C# GAPIC
384- # generation can deal with current GCE special cases.
385-
386- # load(
387- # "@com_google_googleapis_imports//:imports.bzl",
388- # "csharp_gapic_assembly_pkg",
389- # "csharp_gapic_library",
390- # "csharp_grpc_library",
391- # "csharp_proto_library",
392- # )
383+ load (
384+ "@com_google_googleapis_imports//:imports.bzl" ,
385+ "csharp_gapic_assembly_pkg" ,
386+ "csharp_gapic_library" ,
387+ "csharp_grpc_library" ,
388+ "csharp_proto_library" ,
389+ )
393390
394- # csharp_proto_library(
395- # name = "compute_csharp_proto",
396- # deps = [":compute_proto"],
397- # )
391+ csharp_proto_library (
392+ name = "compute_csharp_proto" ,
393+ deps = [":compute_proto" ],
394+ )
398395
399- # csharp_grpc_library(
400- # name = "compute_csharp_grpc",
401- # srcs = [":compute_proto"],
402- # deps = [":compute_csharp_proto"],
403- # )
396+ csharp_grpc_library (
397+ name = "compute_csharp_grpc" ,
398+ srcs = [":compute_proto" ],
399+ deps = [":compute_csharp_proto" ],
400+ )
404401
405- # csharp_gapic_library(
406- # name = "compute_csharp_gapic",
407- # srcs = [":compute_proto_with_info"],
408- # common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
409- # grpc_service_config = ":compute_grpc_service_config.json",
410- # service_yaml = "compute_v1.yaml",
411- # transport = "rest",
412- # deps = [
413- # ":compute_csharp_grpc",
414- # ":compute_csharp_proto",
415- # ],
416- # )
402+ csharp_gapic_library (
403+ name = "compute_csharp_gapic" ,
404+ srcs = [":compute_proto_with_info" ],
405+ common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json" ,
406+ grpc_service_config = ":compute_grpc_service_config.json" ,
407+ service_yaml = "compute_v1.yaml" ,
408+ transport = "rest" ,
409+ deps = [
410+ ":compute_csharp_grpc" ,
411+ ":compute_csharp_proto" ,
412+ ],
413+ )
417414
418- # # Open Source Packages
419- # csharp_gapic_assembly_pkg(
420- # name = "google-cloud-compute-v1-csharp",
421- # deps = [
422- # ":compute_csharp_gapic",
423- # ":compute_csharp_grpc",
424- # ":compute_csharp_proto",
425- # ],
426- # )
415+ # Open Source Packages
416+ csharp_gapic_assembly_pkg (
417+ name = "google-cloud-compute-v1-csharp" ,
418+ deps = [
419+ ":compute_csharp_gapic" ,
420+ ":compute_csharp_grpc" ,
421+ ":compute_csharp_proto" ,
422+ ],
423+ )
427424
428425##############################################################################
429426# Go
0 commit comments