Skip to content

Commit

Permalink
Add kt_jvm_proto targets for common protos (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyaopw authored Sep 6, 2022
1 parent 6dbcda7 commit ce95424
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions src/main/proto/wfa/virtual_people/common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand All @@ -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"],
Expand All @@ -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"],
Expand All @@ -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"],
Expand All @@ -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"],
Expand All @@ -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"],
Expand Down Expand Up @@ -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"],
)

0 comments on commit ce95424

Please sign in to comment.