Skip to content

Commit e942763

Browse files
Google APIscopybara-github
authored andcommitted
chore: migrate cloud shell to the PHP microgenerator
Committer: @miraleung PiperOrigin-RevId: 369293908
1 parent 0ad68c9 commit e942763

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

google/cloud/shell/v1/BUILD.bazel

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ go_gapic_library(
123123
srcs = [":shell_proto_with_info"],
124124
grpc_service_config = "cloudshell_grpc_service_config.json",
125125
importpath = "cloud.google.com/go/shell/apiv1;shell",
126-
service_yaml = "cloudshell_v1.yaml",
127126
metadata = True,
127+
service_yaml = "cloudshell_v1.yaml",
128128
deps = [
129129
":shell_go_proto",
130130
"//google/longrunning:longrunning_go_proto",
131-
"@com_google_cloud_go//longrunning/autogen:go_default_library",
132131
"@com_google_cloud_go//longrunning:go_default_library",
132+
"@com_google_cloud_go//longrunning/autogen:go_default_library",
133133
],
134134
)
135135

@@ -145,8 +145,8 @@ go_gapic_assembly_pkg(
145145
name = "gapi-cloud-shell-v1-go",
146146
deps = [
147147
":shell_go_gapic",
148-
":shell_go_gapic_srcjar-test.srcjar",
149148
":shell_go_gapic_srcjar-metadata.srcjar",
149+
":shell_go_gapic_srcjar-test.srcjar",
150150
":shell_go_proto",
151151
],
152152
)
@@ -176,13 +176,14 @@ py_gapic_assembly_pkg(
176176

177177
##############################################################################
178178
# PHP
179+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
179180
##############################################################################
180181
load(
181182
"@com_google_googleapis_imports//:imports.bzl",
182-
"php_gapic_assembly_pkg",
183-
"php_gapic_library",
184-
"php_grpc_library",
185-
"php_proto_library",
183+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
184+
php_gapic_library = "php_gapic_library2",
185+
php_grpc_library = "php_grpc_library2",
186+
php_proto_library = "php_proto_library2",
186187
)
187188

188189
php_proto_library(
@@ -198,11 +199,8 @@ php_grpc_library(
198199

199200
php_gapic_library(
200201
name = "shell_php_gapic",
201-
src = ":shell_proto_with_info",
202-
gapic_yaml = "cloudshell_gapic.yaml",
202+
srcs = [":shell_proto_with_info"],
203203
grpc_service_config = "cloudshell_grpc_service_config.json",
204-
package = "google.cloud.shell.v1",
205-
service_yaml = "cloudshell_v1.yaml",
206204
deps = [
207205
":shell_php_grpc",
208206
":shell_php_proto",
@@ -252,8 +250,8 @@ nodejs_gapic_assembly_pkg(
252250
##############################################################################
253251
load(
254252
"@com_google_googleapis_imports//:imports.bzl",
255-
"ruby_gapic_assembly_pkg",
256253
"ruby_cloud_gapic_library",
254+
"ruby_gapic_assembly_pkg",
257255
"ruby_grpc_library",
258256
"ruby_proto_library",
259257
)

0 commit comments

Comments
 (0)