Skip to content

Commit fa29ad9

Browse files
Google APIscopybara-github
authored andcommitted
chore: migrate servicecontrol to the PHP microgenerator
Committer: @miraleung PiperOrigin-RevId: 365097355
1 parent d5c594f commit fa29ad9

2 files changed

Lines changed: 7 additions & 27 deletions

File tree

google/api/servicecontrol/v1/BUILD.bazel

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
# This file was automatically generated by BuildFileGenerator
22
# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel
3-
43
# Most of the manual changes to this file will be overwritten.
54
# It's **only** allowed to change the following rule attribute values:
65
# - names of *_gapic_assembly_* rules
76
# - certain parameters of *_gapic_library rules, including but not limited to:
87
# * extra_protoc_parameters
98
# * extra_protoc_file_parameters
109
# The complete list of preserved parameters can be found in the source code.
11-
1210
# This is an API workspace, having public visibility by default makes perfect sense.
1311
package(default_visibility = ["//visibility:public"])
1412

@@ -61,18 +59,15 @@ proto_library_with_info(
6159
# "java_grpc_library",
6260
# "java_proto_library",
6361
# )
64-
6562
# java_proto_library(
6663
# name = "servicecontrol_java_proto",
6764
# deps = [":servicecontrol_proto"],
6865
# )
69-
7066
# java_grpc_library(
7167
# name = "servicecontrol_java_grpc",
7268
# srcs = [":servicecontrol_proto"],
7369
# deps = [":servicecontrol_java_proto"],
7470
# )
75-
7671
# java_gapic_library(
7772
# name = "servicecontrol_java_gapic",
7873
# srcs = [":servicecontrol_proto_with_info"],
@@ -85,15 +80,12 @@ proto_library_with_info(
8580
# ":servicecontrol_java_proto",
8681
# ],
8782
# )
88-
8983
# java_gapic_test(
9084
# name = "servicecontrol_java_gapic_test_suite",
9185
# test_classes = [
92-
9386
# ],
9487
# runtime_deps = [":servicecontrol_java_gapic_test"],
9588
# )
96-
9789
# # Open Source Packages
9890
# java_gapic_assembly_gradle_pkg(
9991
# name = "google-cloud-api-servicecontrol-v1-java",
@@ -104,7 +96,6 @@ proto_library_with_info(
10496
# ":servicecontrol_proto",
10597
# ],
10698
# )
107-
10899
##############################################################################
109100
# Go
110101
##############################################################################
@@ -115,7 +106,6 @@ proto_library_with_info(
115106
# "go_proto_library",
116107
# "go_test",
117108
# )
118-
119109
# go_proto_library(
120110
# name = "servicecontrol_go_proto",
121111
# compilers = ["@io_bazel_rules_go//proto:go_grpc"],
@@ -127,7 +117,6 @@ proto_library_with_info(
127117
# "//google/rpc:status_go_proto",
128118
# ],
129119
# )
130-
131120
# go_gapic_library(
132121
# name = "servicecontrol_go_gapic",
133122
# srcs = [":servicecontrol_proto_with_info"],
@@ -139,14 +128,12 @@ proto_library_with_info(
139128
# "@io_bazel_rules_go//proto/wkt:duration_go_proto",
140129
# ],
141130
# )
142-
143131
# go_test(
144132
# name = "servicecontrol_go_gapic_test",
145133
# srcs = [":servicecontrol_go_gapic_srcjar_test"],
146134
# embed = [":servicecontrol_go_gapic"],
147135
# importpath = "cloud.google.com/go/api/servicecontrol/apiv1",
148136
# )
149-
150137
# # Open Source Packages
151138
# go_gapic_assembly_pkg(
152139
# name = "gapi-cloud-api-servicecontrol-v1-go",
@@ -156,7 +143,6 @@ proto_library_with_info(
156143
# ":servicecontrol_go_proto",
157144
# ],
158145
# )
159-
160146
##############################################################################
161147
# Python
162148
##############################################################################
@@ -182,13 +168,14 @@ py_gapic_assembly_pkg(
182168

183169
##############################################################################
184170
# PHP
171+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
185172
##############################################################################
186173
load(
187174
"@com_google_googleapis_imports//:imports.bzl",
188-
"php_gapic_assembly_pkg",
189-
"php_gapic_library",
190-
"php_grpc_library",
191-
"php_proto_library",
175+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
176+
php_gapic_library = "php_gapic_library2",
177+
php_grpc_library = "php_grpc_library2",
178+
php_proto_library = "php_proto_library2",
192179
)
193180

194181
php_proto_library(
@@ -204,11 +191,8 @@ php_grpc_library(
204191

205192
php_gapic_library(
206193
name = "servicecontrol_php_gapic",
207-
src = ":servicecontrol_proto_with_info",
208-
gapic_yaml = "servicecontrol_gapic.yaml",
194+
srcs = [":servicecontrol_proto_with_info"],
209195
grpc_service_config = None,
210-
package = "google.api.servicecontrol.v1",
211-
service_yaml = "servicecontrol.yaml",
212196
deps = [
213197
":servicecontrol_php_grpc",
214198
":servicecontrol_php_proto",
@@ -258,8 +242,8 @@ nodejs_gapic_assembly_pkg(
258242
##############################################################################
259243
load(
260244
"@com_google_googleapis_imports//:imports.bzl",
261-
"ruby_gapic_assembly_pkg",
262245
"ruby_cloud_gapic_library",
246+
"ruby_gapic_assembly_pkg",
263247
"ruby_grpc_library",
264248
"ruby_proto_library",
265249
)
@@ -345,7 +329,6 @@ csharp_gapic_assembly_pkg(
345329
":servicecontrol_csharp_proto",
346330
],
347331
)
348-
349332
##############################################################################
350333
# C++
351334
##############################################################################

google/api/servicecontrol/v1/servicecontrol_gapic.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)