2019-11-25 15:49:46 -08:00
|
|
|
# This file was automatically generated by BuildFileGenerator
|
2019-11-13 22:27:49 -08:00
|
|
|
|
2019-02-06 16:00:55 -08:00
|
|
|
##############################################################################
|
|
|
|
|
# Common
|
|
|
|
|
##############################################################################
|
2022-11-02 11:43:56 -07:00
|
|
|
load(
|
|
|
|
|
"@com_google_googleapis_imports//:imports.bzl",
|
|
|
|
|
"cc_grpc_library",
|
|
|
|
|
"cc_proto_library",
|
|
|
|
|
"csharp_grpc_library",
|
|
|
|
|
"csharp_proto_library",
|
2025-10-09 06:45:49 -07:00
|
|
|
"go_grpc_library",
|
2022-11-02 11:43:56 -07:00
|
|
|
"java_gapic_assembly_gradle_pkg",
|
|
|
|
|
"java_grpc_library",
|
|
|
|
|
"java_proto_library",
|
2023-03-08 14:01:03 -08:00
|
|
|
"php_gapic_assembly_pkg",
|
2023-05-30 17:06:02 -07:00
|
|
|
"php_proto_library",
|
2022-11-02 11:43:56 -07:00
|
|
|
"proto_library_with_info",
|
|
|
|
|
"py_gapic_assembly_pkg",
|
|
|
|
|
"py_gapic_library",
|
|
|
|
|
"ruby_grpc_library",
|
|
|
|
|
"ruby_proto_library",
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# This is an API workspace, having public visibility by default makes perfect sense.
|
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
2019-02-06 16:00:55 -08:00
|
|
|
|
|
|
|
|
proto_library(
|
|
|
|
|
name = "source_proto",
|
2019-11-25 15:49:46 -08:00
|
|
|
srcs = [
|
|
|
|
|
"source_context.proto",
|
|
|
|
|
],
|
2019-02-06 16:00:55 -08:00
|
|
|
deps = [
|
|
|
|
|
"//google/api:annotations_proto",
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
proto_library_with_info(
|
|
|
|
|
name = "source_proto_with_info",
|
2019-11-25 15:49:46 -08:00
|
|
|
deps = [
|
2022-06-22 17:00:31 -07:00
|
|
|
":source_proto",
|
2019-11-25 15:49:46 -08:00
|
|
|
],
|
2019-02-06 16:00:55 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
java_proto_library(
|
|
|
|
|
name = "source_java_proto",
|
2019-11-25 15:49:46 -08:00
|
|
|
deps = [":source_proto"],
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
java_grpc_library(
|
|
|
|
|
name = "source_java_grpc",
|
|
|
|
|
srcs = [":source_proto"],
|
|
|
|
|
deps = [":source_java_proto"],
|
2019-02-06 16:00:55 -08:00
|
|
|
)
|
|
|
|
|
|
2021-11-04 11:14:13 -07:00
|
|
|
# Please DO-NOT-REMOVE this section.
|
|
|
|
|
# This is required to generate java files for these protos.
|
|
|
|
|
# Open Source Packages
|
|
|
|
|
java_gapic_assembly_gradle_pkg(
|
|
|
|
|
name = "google-devtools-source-v1-java",
|
2022-11-02 11:43:56 -07:00
|
|
|
include_samples = True,
|
2022-06-22 17:00:31 -07:00
|
|
|
transport = "grpc+rest",
|
2021-11-04 11:14:13 -07:00
|
|
|
deps = [
|
|
|
|
|
":source_java_grpc",
|
2022-06-22 17:00:31 -07:00
|
|
|
":source_java_proto",
|
2021-11-04 11:14:13 -07:00
|
|
|
":source_proto",
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
|
2025-10-09 06:45:49 -07:00
|
|
|
go_grpc_library(
|
2019-02-06 16:00:55 -08:00
|
|
|
name = "source_go_proto",
|
|
|
|
|
importpath = "google.golang.org/genproto/googleapis/devtools/source/v1",
|
2019-05-23 11:03:08 -07:00
|
|
|
protos = [":source_proto"],
|
2019-02-06 16:00:55 -08:00
|
|
|
deps = [
|
|
|
|
|
"//google/api:annotations_go_proto",
|
2019-05-21 16:06:55 -07:00
|
|
|
],
|
2019-02-06 16:00:55 -08:00
|
|
|
)
|
|
|
|
|
|
2021-06-08 19:29:01 -07:00
|
|
|
py_gapic_library(
|
|
|
|
|
name = "source_py_gapic",
|
2019-11-25 15:49:46 -08:00
|
|
|
srcs = [":source_proto"],
|
2021-06-08 19:29:01 -07:00
|
|
|
opt_args = [
|
2021-06-21 18:47:14 -07:00
|
|
|
"warehouse-package-name=google-cloud-source-context",
|
2021-06-08 19:29:01 -07:00
|
|
|
"python-gapic-namespace=google.cloud",
|
2021-06-21 18:47:14 -07:00
|
|
|
"python-gapic-name=source_context",
|
2019-02-06 16:00:55 -08:00
|
|
|
],
|
2022-11-02 10:01:42 -07:00
|
|
|
rest_numeric_enums = False,
|
2022-09-14 14:40:11 -07:00
|
|
|
transport = "grpc",
|
2019-05-21 16:06:55 -07:00
|
|
|
)
|
2019-11-25 15:49:46 -08:00
|
|
|
|
2021-06-08 19:29:01 -07:00
|
|
|
# Open Source Packages
|
|
|
|
|
py_gapic_assembly_pkg(
|
|
|
|
|
name = "google-cloud-source-v1-py",
|
|
|
|
|
deps = [
|
|
|
|
|
":source_py_gapic",
|
|
|
|
|
],
|
2019-11-25 15:49:46 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
php_proto_library(
|
|
|
|
|
name = "source_php_proto",
|
|
|
|
|
deps = [":source_proto"],
|
|
|
|
|
)
|
|
|
|
|
|
2023-03-08 14:01:03 -08:00
|
|
|
# Open Source Packages
|
|
|
|
|
php_gapic_assembly_pkg(
|
|
|
|
|
name = "google-cloud-source-v1-php",
|
|
|
|
|
deps = [
|
|
|
|
|
":source_php_proto",
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
|
2019-11-25 15:49:46 -08:00
|
|
|
ruby_proto_library(
|
|
|
|
|
name = "source_ruby_proto",
|
|
|
|
|
deps = [":source_proto"],
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
ruby_grpc_library(
|
|
|
|
|
name = "source_ruby_grpc",
|
|
|
|
|
srcs = [":source_proto"],
|
|
|
|
|
deps = [":source_ruby_proto"],
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
csharp_proto_library(
|
|
|
|
|
name = "source_csharp_proto",
|
|
|
|
|
deps = [":source_proto"],
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
csharp_grpc_library(
|
|
|
|
|
name = "source_csharp_grpc",
|
|
|
|
|
srcs = [":source_proto"],
|
|
|
|
|
deps = [":source_csharp_proto"],
|
|
|
|
|
)
|
|
|
|
|
|
2021-11-22 12:23:29 -08:00
|
|
|
cc_proto_library(
|
|
|
|
|
name = "source_cc_proto",
|
|
|
|
|
deps = [":source_proto"],
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
cc_grpc_library(
|
|
|
|
|
name = "source_cc_grpc",
|
|
|
|
|
srcs = [":source_proto"],
|
|
|
|
|
grpc_only = True,
|
|
|
|
|
deps = [":source_cc_proto"],
|
|
|
|
|
)
|