From ce9542435fc1532d9eb79d2c6611be547a1815f4 Mon Sep 17 00:00:00 2001 From: Yao Wang <64107318+wangyaopw@users.noreply.github.com> Date: Tue, 6 Sep 2022 14:02:30 -0600 Subject: [PATCH] Add kt_jvm_proto targets for common protos (#47) --- .../wfa/virtual_people/common/BUILD.bazel | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/src/main/proto/wfa/virtual_people/common/BUILD.bazel b/src/main/proto/wfa/virtual_people/common/BUILD.bazel index 92b7d5a..e768354 100644 --- a/src/main/proto/wfa/virtual_people/common/BUILD.bazel +++ b/src/main/proto/wfa/virtual_people/common/BUILD.bazel @@ -25,6 +25,17 @@ cc_proto_library( deps = [":model_proto"], ) +java_proto_library( + name = "model_java_proto", + deps = [":model_proto"], +) + +kt_jvm_proto_library( + name = "model_kt_jvm_proto", + srcs = [":model_proto"], + deps = [":model_java_proto"], +) + proto_library( name = "event_proto", srcs = ["event.proto"], @@ -42,6 +53,17 @@ cc_proto_library( deps = [":event_proto"], ) +java_proto_library( + name = "event_java_proto", + deps = [":event_proto"], +) + +kt_jvm_proto_library( + name = "event_kt_jvm_proto", + srcs = [":event_proto"], + deps = [":event_java_proto"], +) + proto_library( name = "label_proto", srcs = ["label.proto"], @@ -56,6 +78,17 @@ cc_proto_library( deps = [":label_proto"], ) +java_proto_library( + name = "label_java_proto", + deps = [":label_proto"], +) + +kt_jvm_proto_library( + name = "label_kt_jvm_proto", + srcs = [":label_proto"], + deps = [":label_java_proto"], +) + proto_library( name = "demographic_proto", srcs = ["demographic.proto"], @@ -67,6 +100,17 @@ cc_proto_library( deps = [":demographic_proto"], ) +java_proto_library( + name = "demographic_java_proto", + deps = [":demographic_proto"], +) + +kt_jvm_proto_library( + name = "demographic_kt_jvm_proto", + srcs = [":demographic_proto"], + deps = [":demographic_java_proto"], +) + proto_library( name = "geo_location_proto", srcs = ["geo_location.proto"], @@ -78,6 +122,17 @@ cc_proto_library( deps = [":geo_location_proto"], ) +java_proto_library( + name = "geo_location_java_proto", + deps = [":geo_location_proto"], +) + +kt_jvm_proto_library( + name = "geo_location_kt_jvm_proto", + srcs = [":geo_location_proto"], + deps = [":geo_location_java_proto"], +) + proto_library( name = "panel_data_proto", srcs = ["panel_data.proto"], @@ -92,6 +147,17 @@ cc_proto_library( deps = [":panel_data_proto"], ) +java_proto_library( + name = "panel_data_java_proto", + deps = [":panel_data_proto"], +) + +kt_jvm_proto_library( + name = "panel_data_kt_jvm_proto", + srcs = [":panel_data_proto"], + deps = [":panel_data_java_proto"], +) + proto_library( name = "field_filter_proto", srcs = ["field_filter.proto"], @@ -124,3 +190,14 @@ cc_proto_library( name = "config_cc_proto", deps = [":config_proto"], ) + +java_proto_library( + name = "config_java_proto", + deps = [":config_proto"], +) + +kt_jvm_proto_library( + name = "config_kt_jvm_proto", + srcs = [":config_proto"], + deps = [":config_java_proto"], +)