Skip to content

Commit

Permalink
chore: migrate servicecontrol to the PHP microgenerator
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 365097355
  • Loading branch information
Google APIs authored and copybara-github committed Mar 25, 2021
1 parent d5c594f commit fa29ad9
Showing 2 changed files with 7 additions and 27 deletions.
31 changes: 7 additions & 24 deletions google/api/servicecontrol/v1/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# This file was automatically generated by BuildFileGenerator
# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel

# Most of the manual changes to this file will be overwritten.
# It's **only** allowed to change the following rule attribute values:
# - names of *_gapic_assembly_* rules
# - certain parameters of *_gapic_library rules, including but not limited to:
# * extra_protoc_parameters
# * extra_protoc_file_parameters
# The complete list of preserved parameters can be found in the source code.

# This is an API workspace, having public visibility by default makes perfect sense.
package(default_visibility = ["//visibility:public"])

@@ -61,18 +59,15 @@ proto_library_with_info(
# "java_grpc_library",
# "java_proto_library",
# )

# java_proto_library(
# name = "servicecontrol_java_proto",
# deps = [":servicecontrol_proto"],
# )

# java_grpc_library(
# name = "servicecontrol_java_grpc",
# srcs = [":servicecontrol_proto"],
# deps = [":servicecontrol_java_proto"],
# )

# java_gapic_library(
# name = "servicecontrol_java_gapic",
# srcs = [":servicecontrol_proto_with_info"],
@@ -85,15 +80,12 @@ proto_library_with_info(
# ":servicecontrol_java_proto",
# ],
# )

# java_gapic_test(
# name = "servicecontrol_java_gapic_test_suite",
# test_classes = [

# ],
# runtime_deps = [":servicecontrol_java_gapic_test"],
# )

# # Open Source Packages
# java_gapic_assembly_gradle_pkg(
# name = "google-cloud-api-servicecontrol-v1-java",
@@ -104,7 +96,6 @@ proto_library_with_info(
# ":servicecontrol_proto",
# ],
# )

##############################################################################
# Go
##############################################################################
@@ -115,7 +106,6 @@ proto_library_with_info(
# "go_proto_library",
# "go_test",
# )

# go_proto_library(
# name = "servicecontrol_go_proto",
# compilers = ["@io_bazel_rules_go//proto:go_grpc"],
@@ -127,7 +117,6 @@ proto_library_with_info(
# "//google/rpc:status_go_proto",
# ],
# )

# go_gapic_library(
# name = "servicecontrol_go_gapic",
# srcs = [":servicecontrol_proto_with_info"],
@@ -139,14 +128,12 @@ proto_library_with_info(
# "@io_bazel_rules_go//proto/wkt:duration_go_proto",
# ],
# )

# go_test(
# name = "servicecontrol_go_gapic_test",
# srcs = [":servicecontrol_go_gapic_srcjar_test"],
# embed = [":servicecontrol_go_gapic"],
# importpath = "cloud.google.com/go/api/servicecontrol/apiv1",
# )

# # Open Source Packages
# go_gapic_assembly_pkg(
# name = "gapi-cloud-api-servicecontrol-v1-go",
@@ -156,7 +143,6 @@ proto_library_with_info(
# ":servicecontrol_go_proto",
# ],
# )

##############################################################################
# Python
##############################################################################
@@ -182,13 +168,14 @@ py_gapic_assembly_pkg(

##############################################################################
# PHP
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
##############################################################################
load(
"@com_google_googleapis_imports//:imports.bzl",
"php_gapic_assembly_pkg",
"php_gapic_library",
"php_grpc_library",
"php_proto_library",
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
php_gapic_library = "php_gapic_library2",
php_grpc_library = "php_grpc_library2",
php_proto_library = "php_proto_library2",
)

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

php_gapic_library(
name = "servicecontrol_php_gapic",
src = ":servicecontrol_proto_with_info",
gapic_yaml = "servicecontrol_gapic.yaml",
srcs = [":servicecontrol_proto_with_info"],
grpc_service_config = None,
package = "google.api.servicecontrol.v1",
service_yaml = "servicecontrol.yaml",
deps = [
":servicecontrol_php_grpc",
":servicecontrol_php_proto",
@@ -258,8 +242,8 @@ nodejs_gapic_assembly_pkg(
##############################################################################
load(
"@com_google_googleapis_imports//:imports.bzl",
"ruby_gapic_assembly_pkg",
"ruby_cloud_gapic_library",
"ruby_gapic_assembly_pkg",
"ruby_grpc_library",
"ruby_proto_library",
)
@@ -345,7 +329,6 @@ csharp_gapic_assembly_pkg(
":servicecontrol_csharp_proto",
],
)

##############################################################################
# C++
##############################################################################
3 changes: 0 additions & 3 deletions google/api/servicecontrol/v1/servicecontrol_gapic.yaml

This file was deleted.

0 comments on commit fa29ad9

Please sign in to comment.