Skip to content

Commit 22dc32a

Browse files
Google APIscopybara-github
authored andcommitted
chore: Uncomment Java build rules
chore: Remove package from java_gapic_library Committer: @neenushaji PiperOrigin-RevId: 358911155
1 parent 2916ac4 commit 22dc32a

1 file changed

Lines changed: 50 additions & 50 deletions

File tree

google/cloud/orgpolicy/v2/BUILD.bazel

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -46,56 +46,56 @@ proto_library_with_info(
4646
##############################################################################
4747
# Java
4848
##############################################################################
49-
# load(
50-
# "@com_google_googleapis_imports//:imports.bzl",
51-
# "java_gapic_assembly_gradle_pkg",
52-
# "java_gapic_library",
53-
# "java_gapic_test",
54-
# "java_grpc_library",
55-
# "java_proto_library",
56-
# )
57-
58-
# java_proto_library(
59-
# name = "orgpolicy_java_proto",
60-
# deps = [":orgpolicy_proto"],
61-
# )
62-
63-
# java_grpc_library(
64-
# name = "orgpolicy_java_grpc",
65-
# srcs = [":orgpolicy_proto"],
66-
# deps = [":orgpolicy_java_proto"],
67-
# )
68-
69-
# java_gapic_library(
70-
# name = "orgpolicy_java_gapic",
71-
# srcs = [":orgpolicy_proto_with_info"],
72-
# grpc_service_config = "orgpolicy_grpc_service_config.json",
73-
# package = "google.cloud.orgpolicy.v2",
74-
# test_deps = [
75-
# ":orgpolicy_java_grpc",
76-
# ],
77-
# deps = [
78-
# ":orgpolicy_java_proto",
79-
# ],
80-
# )
81-
82-
# java_gapic_test(
83-
# name = "orgpolicy_java_gapic_test_suite",
84-
# test_classes = [
85-
# ],
86-
# runtime_deps = [":orgpolicy_java_gapic_test"],
87-
# )
88-
89-
# # Open Source Packages
90-
# java_gapic_assembly_gradle_pkg(
91-
# name = "google-cloud-orgpolicy-v2-java",
92-
# deps = [
93-
# ":orgpolicy_java_gapic",
94-
# ":orgpolicy_java_grpc",
95-
# ":orgpolicy_java_proto",
96-
# ":orgpolicy_proto",
97-
# ],
98-
# )
49+
load(
50+
"@com_google_googleapis_imports//:imports.bzl",
51+
"java_gapic_assembly_gradle_pkg",
52+
"java_gapic_library",
53+
"java_gapic_test",
54+
"java_grpc_library",
55+
"java_proto_library",
56+
)
57+
58+
java_proto_library(
59+
name = "orgpolicy_java_proto",
60+
deps = [":orgpolicy_proto"],
61+
)
62+
63+
java_grpc_library(
64+
name = "orgpolicy_java_grpc",
65+
srcs = [":orgpolicy_proto"],
66+
deps = [":orgpolicy_java_proto"],
67+
)
68+
69+
java_gapic_library(
70+
name = "orgpolicy_java_gapic",
71+
srcs = [":orgpolicy_proto_with_info"],
72+
grpc_service_config = "orgpolicy_grpc_service_config.json",
73+
test_deps = [
74+
":orgpolicy_java_grpc",
75+
],
76+
deps = [
77+
":orgpolicy_java_proto",
78+
],
79+
)
80+
81+
java_gapic_test(
82+
name = "orgpolicy_java_gapic_test_suite",
83+
test_classes = [
84+
"com.google.cloud.orgpolicy.v2.OrgPolicyClientTest",
85+
],
86+
runtime_deps = [":orgpolicy_java_gapic_test"],
87+
)
88+
89+
# Open Source Packages
90+
java_gapic_assembly_gradle_pkg(
91+
name = "google-cloud-orgpolicy-v2-java",
92+
deps = [
93+
":orgpolicy_java_gapic",
94+
":orgpolicy_java_grpc",
95+
":orgpolicy_java_proto",
96+
":orgpolicy_proto",
97+
],
98+
)
9999

100100
##############################################################################
101101
# Go

0 commit comments

Comments
 (0)