Skip to content

Commit

Permalink
build: pass package_name to protoc in Node.js Bazel build
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 318104666
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 24, 2020
1 parent cbf3224 commit a60b165
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions google/cloud/language/v1/BUILD.bazel
@@ -1,4 +1,13 @@
# 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"])
Expand Down Expand Up @@ -245,6 +254,7 @@ load(

nodejs_gapic_library(
name = "language_nodejs_gapic",
package_name = "@google-cloud/language",
src = ":language_proto_with_info",
grpc_service_config = "language_grpc_service_config.json",
package = "google.cloud.language.v1",
Expand Down
10 changes: 10 additions & 0 deletions google/cloud/language/v1beta2/BUILD.bazel
@@ -1,4 +1,13 @@
# 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"])
Expand Down Expand Up @@ -247,6 +256,7 @@ load(

nodejs_gapic_library(
name = "language_nodejs_gapic",
package_name = "@google-cloud/language",
src = ":language_proto_with_info",
grpc_service_config = "language_grpc_service_config.json",
package = "google.cloud.language.v1beta2",
Expand Down

0 comments on commit a60b165

Please sign in to comment.