123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538 |
- load("@rules_proto//proto:defs.bzl", "proto_library")
- # This is an API workspace, having public visibility by default makes perfect sense.
- package(default_visibility = ["//visibility:public"])
- ##############################################################################
- # Common
- ##############################################################################
- proto_library(
- name = "calendar_period_proto",
- srcs = ["calendar_period.proto"],
- )
- proto_library(
- name = "color_proto",
- srcs = ["color.proto"],
- deps = [
- "@com_google_protobuf//:wrappers_proto",
- ],
- )
- proto_library(
- name = "date_proto",
- srcs = ["date.proto"],
- )
- proto_library(
- name = "datetime_proto",
- srcs = ["datetime.proto"],
- deps = [
- "@com_google_protobuf//:duration_proto",
- ],
- )
- proto_library(
- name = "dayofweek_proto",
- srcs = ["dayofweek.proto"],
- )
- proto_library(
- name = "decimal_proto",
- srcs = ["decimal.proto"],
- )
- proto_library(
- name = "expr_proto",
- srcs = ["expr.proto"],
- )
- proto_library(
- name = "fraction_proto",
- srcs = ["fraction.proto"],
- )
- proto_library(
- name = "interval_proto",
- srcs = ["interval.proto"],
- deps = [
- "@com_google_protobuf//:timestamp_proto",
- ],
- )
- proto_library(
- name = "latlng_proto",
- srcs = ["latlng.proto"],
- )
- proto_library(
- name = "localized_text_proto",
- srcs = ["localized_text.proto"],
- )
- proto_library(
- name = "money_proto",
- srcs = ["money.proto"],
- )
- proto_library(
- name = "month_proto",
- srcs = ["month.proto"],
- )
- proto_library(
- name = "phone_number_proto",
- srcs = ["phone_number.proto"],
- )
- proto_library(
- name = "postal_address_proto",
- srcs = ["postal_address.proto"],
- )
- proto_library(
- name = "quaternion_proto",
- srcs = ["quaternion.proto"],
- )
- proto_library(
- name = "timeofday_proto",
- srcs = ["timeofday.proto"],
- )
- ##############################################################################
- # Java
- ##############################################################################
- load(
- "@com_google_googleapis_imports//:imports.bzl",
- "java_gapic_assembly_gradle_pkg",
- "java_proto_library",
- )
- java_proto_library(
- name = "type_java_proto",
- deps = [
- ":calendar_period_proto",
- ":color_proto",
- ":date_proto",
- ":datetime_proto",
- ":dayofweek_proto",
- ":decimal_proto",
- ":expr_proto",
- ":fraction_proto",
- ":interval_proto",
- ":latlng_proto",
- ":localized_text_proto",
- ":money_proto",
- ":month_proto",
- ":phone_number_proto",
- ":postal_address_proto",
- ":quaternion_proto",
- ":timeofday_proto",
- ],
- )
- # 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-type-java",
- transport = "grpc+rest",
- deps = [
- ":calendar_period_proto",
- ":color_proto",
- ":date_proto",
- ":datetime_proto",
- ":dayofweek_proto",
- ":decimal_proto",
- ":expr_proto",
- ":fraction_proto",
- ":interval_proto",
- ":latlng_proto",
- ":localized_text_proto",
- ":money_proto",
- ":month_proto",
- ":phone_number_proto",
- ":postal_address_proto",
- ":quaternion_proto",
- ":timeofday_proto",
- ":type_java_proto",
- ],
- )
- ##############################################################################
- # Go
- ##############################################################################
- load("@com_google_googleapis_imports//:imports.bzl", "go_proto_library")
- go_proto_library(
- name = "calendar_period_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/calendarperiod",
- protos = [":calendar_period_proto"],
- )
- go_proto_library(
- name = "color_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/color",
- protos = [":color_proto"],
- )
- go_proto_library(
- name = "date_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/date",
- protos = [":date_proto"],
- )
- go_proto_library(
- name = "datetime_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/datetime",
- protos = [":datetime_proto"],
- )
- go_proto_library(
- name = "dayofweek_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/dayofweek",
- protos = [":dayofweek_proto"],
- )
- go_proto_library(
- name = "decimal_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/decimal",
- protos = [":decimal_proto"],
- )
- go_proto_library(
- name = "expr_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/expr",
- protos = [":expr_proto"],
- )
- go_proto_library(
- name = "fraction_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/fraction",
- protos = [":fraction_proto"],
- )
- go_proto_library(
- name = "interval_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/interval",
- protos = [":interval_proto"],
- )
- go_proto_library(
- name = "latlng_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/latlng",
- protos = [":latlng_proto"],
- )
- go_proto_library(
- name = "localized_text_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/localized_text",
- protos = [":localized_text_proto"],
- )
- go_proto_library(
- name = "money_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/money",
- protos = [":money_proto"],
- )
- go_proto_library(
- name = "month_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/month",
- protos = [":month_proto"],
- )
- go_proto_library(
- name = "phone_number_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/phone_number",
- protos = [":phone_number_proto"],
- )
- go_proto_library(
- name = "postaladdress_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/postaladdress",
- protos = [":postal_address_proto"],
- )
- go_proto_library(
- name = "quaternion_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/quaternion",
- protos = [":quaternion_proto"],
- )
- go_proto_library(
- name = "timeofday_go_proto",
- importpath = "google.golang.org/genproto/googleapis/type/timeofday",
- protos = [":timeofday_proto"],
- )
- ##############################################################################
- # C++
- ##############################################################################
- load(
- "@com_google_googleapis_imports//:imports.bzl",
- "cc_proto_library",
- )
- cc_proto_library(
- name = "calendar_period_cc_proto",
- deps = [":calendar_period_proto"],
- )
- cc_proto_library(
- name = "color_cc_proto",
- deps = [":color_proto"],
- )
- cc_proto_library(
- name = "date_cc_proto",
- deps = [":date_proto"],
- )
- cc_proto_library(
- name = "datetime_cc_proto",
- deps = [":datetime_proto"],
- )
- cc_proto_library(
- name = "dayofweek_cc_proto",
- deps = [":dayofweek_proto"],
- )
- cc_proto_library(
- name = "decimal_cc_proto",
- deps = [":decimal_proto"],
- )
- cc_proto_library(
- name = "expr_cc_proto",
- deps = [":expr_proto"],
- )
- cc_proto_library(
- name = "fraction_cc_proto",
- deps = [":fraction_proto"],
- )
- cc_proto_library(
- name = "interval_cc_proto",
- deps = [":interval_proto"],
- )
- cc_proto_library(
- name = "latlng_cc_proto",
- deps = [":latlng_proto"],
- )
- cc_proto_library(
- name = "money_cc_proto",
- deps = [":money_proto"],
- )
- cc_proto_library(
- name = "month_cc_proto",
- deps = [":month_proto"],
- )
- cc_proto_library(
- name = "phone_number_cc_proto",
- deps = [":phone_number_proto"],
- )
- cc_proto_library(
- name = "postal_address_cc_proto",
- deps = [":postal_address_proto"],
- )
- cc_proto_library(
- name = "quaternion_cc_proto",
- deps = [":quaternion_proto"],
- )
- cc_proto_library(
- name = "timeofday_cc_proto",
- deps = [":timeofday_proto"],
- )
- ##############################################################################
- # Python
- ##############################################################################
- load(
- "@com_google_googleapis_imports//:imports.bzl",
- "py_proto_library",
- )
- py_proto_library(
- name = "calendar_period_py_proto",
- deps = [":calendar_period_proto"],
- )
- py_proto_library(
- name = "color_py_proto",
- deps = [":color_proto"],
- )
- py_proto_library(
- name = "date_py_proto",
- deps = [":date_proto"],
- )
- py_proto_library(
- name = "datetime_py_proto",
- deps = [":datetime_proto"],
- )
- py_proto_library(
- name = "dayofweek_py_proto",
- deps = [":dayofweek_proto"],
- )
- py_proto_library(
- name = "decimal_py_proto",
- deps = [":decimal_proto"],
- )
- py_proto_library(
- name = "expr_py_proto",
- deps = [":expr_proto"],
- )
- py_proto_library(
- name = "fraction_py_proto",
- deps = [":fraction_proto"],
- )
- py_proto_library(
- name = "interval_py_proto",
- deps = [":interval_proto"],
- )
- py_proto_library(
- name = "latlng_py_proto",
- deps = [":latlng_proto"],
- )
- py_proto_library(
- name = "localized_text_py_proto",
- deps = [":localized_text_proto"],
- )
- py_proto_library(
- name = "money_py_proto",
- deps = [":money_proto"],
- )
- py_proto_library(
- name = "month_py_proto",
- deps = [":month_proto"],
- )
- py_proto_library(
- name = "phone_number_py_proto",
- deps = [":phone_number_proto"],
- )
- py_proto_library(
- name = "postal_address_py_proto",
- deps = [":postal_address_proto"],
- )
- py_proto_library(
- name = "quaternion_py_proto",
- deps = [":quaternion_proto"],
- )
- py_proto_library(
- name = "timeofday_py_proto",
- deps = [":timeofday_proto"],
- )
- ##############################################################################
- # C#
- ##############################################################################
- load(
- "@com_google_googleapis_imports//:imports.bzl",
- "csharp_proto_library",
- )
- csharp_proto_library(
- name = "calendar_period_csharp_proto",
- deps = [":calendar_period_proto"],
- )
- csharp_proto_library(
- name = "color_csharp_proto",
- deps = [":color_proto"],
- )
- csharp_proto_library(
- name = "date_csharp_proto",
- deps = [":date_proto"],
- )
- csharp_proto_library(
- name = "datetime_csharp_proto",
- deps = [":datetime_proto"],
- )
- csharp_proto_library(
- name = "dayofweek_csharp_proto",
- deps = [":dayofweek_proto"],
- )
- csharp_proto_library(
- name = "decimal_csharp_proto",
- deps = [":decimal_proto"],
- )
- csharp_proto_library(
- name = "expr_csharp_proto",
- deps = [":expr_proto"],
- )
- csharp_proto_library(
- name = "fraction_csharp_proto",
- deps = [":fraction_proto"],
- )
- csharp_proto_library(
- name = "interval_csharp_proto",
- deps = [":interval_proto"],
- )
- csharp_proto_library(
- name = "latlng_csharp_proto",
- deps = [":latlng_proto"],
- )
- csharp_proto_library(
- name = "localized_text_csharp_proto",
- deps = [":localized_text_proto"],
- )
- csharp_proto_library(
- name = "money_csharp_proto",
- deps = [":money_proto"],
- )
- csharp_proto_library(
- name = "month_csharp_proto",
- deps = [":month_proto"],
- )
- csharp_proto_library(
- name = "phone_number_csharp_proto",
- deps = [":phone_number_proto"],
- )
- csharp_proto_library(
- name = "postal_address_csharp_proto",
- deps = [":postal_address_proto"],
- )
- csharp_proto_library(
- name = "quaternion_csharp_proto",
- deps = [":quaternion_proto"],
- )
|