|
|
|
@ -35,6 +35,7 @@ proto_library( |
|
|
|
|
"intoto_statement.proto", |
|
|
|
|
"package.proto", |
|
|
|
|
"provenance.proto", |
|
|
|
|
"severity.proto", |
|
|
|
|
"slsa_provenance.proto", |
|
|
|
|
"upgrade.proto", |
|
|
|
|
"vulnerability.proto", |
|
|
|
@ -60,6 +61,66 @@ proto_library_with_info( |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
# The compliance_proto, common_proto and severity_proto targets were added so |
|
|
|
|
# that clients can depend on those specific targets rather than grafeas_proto. |
|
|
|
|
# Some clients that run code on certain VMs needed the smaller targets. Note |
|
|
|
|
# that these were added by hand and were not autogenerated. Please ensure that |
|
|
|
|
# these are not deleted while updating this file. |
|
|
|
|
proto_library( |
|
|
|
|
name = "compliance_proto", |
|
|
|
|
srcs = [ |
|
|
|
|
"compliance.proto", |
|
|
|
|
], |
|
|
|
|
deps = [ |
|
|
|
|
"//google/api:annotations_proto", |
|
|
|
|
"//google/api:client_proto", |
|
|
|
|
"//google/api:field_behavior_proto", |
|
|
|
|
"//google/api:resource_proto", |
|
|
|
|
"//google/rpc:status_proto", |
|
|
|
|
":severity_proto", |
|
|
|
|
"@com_google_protobuf//:any_proto", |
|
|
|
|
"@com_google_protobuf//:empty_proto", |
|
|
|
|
"@com_google_protobuf//:field_mask_proto", |
|
|
|
|
"@com_google_protobuf//:timestamp_proto", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
proto_library( |
|
|
|
|
name = "common_proto", |
|
|
|
|
srcs = [ |
|
|
|
|
"common.proto", |
|
|
|
|
], |
|
|
|
|
deps = [ |
|
|
|
|
"//google/api:annotations_proto", |
|
|
|
|
"//google/api:client_proto", |
|
|
|
|
"//google/api:field_behavior_proto", |
|
|
|
|
"//google/api:resource_proto", |
|
|
|
|
"//google/rpc:status_proto", |
|
|
|
|
"@com_google_protobuf//:any_proto", |
|
|
|
|
"@com_google_protobuf//:empty_proto", |
|
|
|
|
"@com_google_protobuf//:field_mask_proto", |
|
|
|
|
"@com_google_protobuf//:timestamp_proto", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
proto_library( |
|
|
|
|
name = "severity_proto", |
|
|
|
|
srcs = [ |
|
|
|
|
"severity.proto", |
|
|
|
|
], |
|
|
|
|
deps = [ |
|
|
|
|
"//google/api:annotations_proto", |
|
|
|
|
"//google/api:client_proto", |
|
|
|
|
"//google/api:field_behavior_proto", |
|
|
|
|
"//google/api:resource_proto", |
|
|
|
|
"//google/rpc:status_proto", |
|
|
|
|
"@com_google_protobuf//:any_proto", |
|
|
|
|
"@com_google_protobuf//:empty_proto", |
|
|
|
|
"@com_google_protobuf//:field_mask_proto", |
|
|
|
|
"@com_google_protobuf//:timestamp_proto", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
############################################################################## |
|
|
|
|
# Java |
|
|
|
|
############################################################################## |
|
|
|
@ -94,6 +155,7 @@ java_gapic_library( |
|
|
|
|
], |
|
|
|
|
deps = [ |
|
|
|
|
":grafeas_java_proto", |
|
|
|
|
":common_proto", |
|
|
|
|
"//google/api:api_java_proto", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
@ -103,7 +165,9 @@ java_gapic_test( |
|
|
|
|
test_classes = [ |
|
|
|
|
"io.grafeas.v1.GrafeasClientTest", |
|
|
|
|
], |
|
|
|
|
runtime_deps = [":grafeas_java_gapic_test"], |
|
|
|
|
runtime_deps = [":grafeas_java_gapic_test", |
|
|
|
|
":common_proto", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
# Open Source Packages |
|
|
|
@ -117,6 +181,10 @@ java_gapic_assembly_gradle_pkg( |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
java_proto_library( |
|
|
|
|
name = "common_java_proto", |
|
|
|
|
deps = [":common_proto"], |
|
|
|
|
) |
|
|
|
|
############################################################################## |
|
|
|
|
# Go |
|
|
|
|
############################################################################## |
|
|
|
@ -132,7 +200,8 @@ go_proto_library( |
|
|
|
|
name = "grafeas_go_proto", |
|
|
|
|
compilers = ["@io_bazel_rules_go//proto:go_grpc"], |
|
|
|
|
importpath = "google.golang.org/genproto/googleapis/grafeas/v1", |
|
|
|
|
protos = [":grafeas_proto"], |
|
|
|
|
protos = [":grafeas_proto", |
|
|
|
|
], |
|
|
|
|
deps = [ |
|
|
|
|
"//google/api:annotations_go_proto", |
|
|
|
|
"//google/rpc:status_go_proto", |
|
|
|
@ -169,6 +238,47 @@ go_gapic_assembly_pkg( |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
# The compliance_go_proto, common_go_proto and severity_go_proto targets were |
|
|
|
|
# added so that clients can depend on those specific targets rather than |
|
|
|
|
# grafeas_proto. Some clients that run code on certain VMs needed the |
|
|
|
|
# smaller targets. Note that these were added by hand and were not |
|
|
|
|
# autogenerated. Please ensure that these are not deleted while updating this |
|
|
|
|
# file. |
|
|
|
|
go_proto_library( |
|
|
|
|
name = "compliance_go_proto", |
|
|
|
|
compilers = ["@io_bazel_rules_go//proto:go_grpc"], |
|
|
|
|
importpath = "google.golang.org/genproto/googleapis/grafeas/v1", |
|
|
|
|
protos = [":compliance_proto", |
|
|
|
|
":severity_proto", |
|
|
|
|
], |
|
|
|
|
deps = [ |
|
|
|
|
"//google/api:annotations_go_proto", |
|
|
|
|
"//google/rpc:status_go_proto", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
go_proto_library( |
|
|
|
|
name = "common_go_proto", |
|
|
|
|
compilers = ["@io_bazel_rules_go//proto:go_grpc"], |
|
|
|
|
importpath = "google.golang.org/genproto/googleapis/grafeas/v1", |
|
|
|
|
protos = [":common_proto"], |
|
|
|
|
deps = [ |
|
|
|
|
"//google/api:annotations_go_proto", |
|
|
|
|
"//google/rpc:status_go_proto", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
go_proto_library( |
|
|
|
|
name = "severity_go_proto", |
|
|
|
|
compilers = ["@io_bazel_rules_go//proto:go_grpc"], |
|
|
|
|
importpath = "google.golang.org/genproto/googleapis/grafeas/v1", |
|
|
|
|
protos = [":severity_proto"], |
|
|
|
|
deps = [ |
|
|
|
|
"//google/api:annotations_go_proto", |
|
|
|
|
"//google/rpc:status_go_proto", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
############################################################################## |
|
|
|
|
# Python |
|
|
|
|
############################################################################## |
|
|
|
@ -371,7 +481,7 @@ cc_proto_library( |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
cc_grpc_library( |
|
|
|
|
name = "logging_cc_grpc", |
|
|
|
|
name = "grafeas_cc_grpc", |
|
|
|
|
srcs = [":grafeas_proto"], |
|
|
|
|
grpc_only = True, |
|
|
|
|
deps = [":grafeas_cc_proto"], |
|
|
|
|