kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/BUILD (about) 1 load("@bazel_skylib//:bzl_library.bzl", "bzl_library") 2 load("@rules_proto//proto:defs.bzl", "proto_library") 3 load("@rules_java//java:defs.bzl", "java_proto_library") 4 load("//:visibility.bzl", "PUBLIC_PROTO_VISIBILITY") 5 load(":genproto.bzl", "update_generated_protos") 6 load(":go.bzl", "go_proto_library") 7 8 package(default_visibility = ["//kythe:proto_visibility"]) 9 10 filegroup( 11 name = "public", 12 srcs = [ 13 "analysis.proto", 14 "analysis_service.proto", 15 "buildinfo.proto", 16 "common.proto", 17 "cxx.proto", 18 "explore.proto", 19 "extraction_config.proto", 20 "filecontext.proto", 21 "filetree.proto", 22 "generated_message_info.proto", 23 "go.proto", 24 "graph.proto", 25 "identifier.proto", 26 "java.proto", 27 "status_service.proto", 28 "storage.proto", 29 "storage_service.proto", 30 "xref.proto", 31 ], 32 ) 33 34 proto_library( 35 name = "schema_proto", 36 srcs = ["schema.proto"], 37 deps = [ 38 ":storage_proto", 39 "@com_google_protobuf//:descriptor_proto", 40 ], 41 ) 42 43 go_proto_library( 44 name = "schema_go_proto", 45 importpath = "kythe.io/kythe/proto/schema_go_proto", 46 proto = ":schema_proto", 47 deps = [":storage_go_proto"], 48 ) 49 50 java_proto_library( 51 name = "schema_java_proto", 52 visibility = [PUBLIC_PROTO_VISIBILITY], 53 deps = [":schema_proto"], 54 ) 55 56 cc_proto_library( 57 name = "schema_cc_proto", 58 visibility = [PUBLIC_PROTO_VISIBILITY], 59 deps = [":schema_proto"], 60 ) 61 62 # Common Kythe protocol buffer definitions shared among other libraries 63 proto_library( 64 name = "common_proto", 65 srcs = ["common.proto"], 66 visibility = [PUBLIC_PROTO_VISIBILITY], 67 deps = ["@com_google_protobuf//:timestamp_proto"], 68 ) 69 70 cc_proto_library( 71 name = "common_cc_proto", 72 visibility = [PUBLIC_PROTO_VISIBILITY], 73 deps = [":common_proto"], 74 ) 75 76 go_proto_library( 77 name = "common_go_proto", 78 importpath = "kythe.io/kythe/proto/common_go_proto", 79 proto = ":common_proto", 80 ) 81 82 java_proto_library( 83 name = "common_java_proto", 84 visibility = [PUBLIC_PROTO_VISIBILITY], 85 deps = [":common_proto"], 86 ) 87 88 # Public Kythe GraphStore analyzer output format 89 proto_library( 90 name = "storage_proto", 91 srcs = ["storage.proto"], 92 visibility = [ 93 "//kythe:proto_visibility", 94 ], 95 ) 96 97 cc_proto_library( 98 name = "storage_cc_proto", 99 visibility = [PUBLIC_PROTO_VISIBILITY], 100 deps = [":storage_proto"], 101 ) 102 103 go_proto_library( 104 name = "storage_go_proto", 105 importpath = "kythe.io/kythe/proto/storage_go_proto", 106 proto = ":storage_proto", 107 ) 108 109 java_proto_library( 110 name = "storage_java_proto", 111 visibility = [PUBLIC_PROTO_VISIBILITY], 112 deps = [":storage_proto"], 113 ) 114 115 # Public Kythe GraphStore service API 116 proto_library( 117 name = "storage_service_proto", 118 srcs = ["storage_service.proto"], 119 visibility = [ 120 "//kythe:proto_visibility", 121 ], 122 deps = [":storage_proto"], 123 ) 124 125 cc_proto_library( 126 name = "storage_service_cc_proto", 127 deps = [":storage_service_proto"], 128 ) 129 130 go_proto_library( 131 name = "storage_service_go_proto", 132 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 133 importpath = "kythe.io/kythe/proto/storage_service_go_proto", 134 proto = ":storage_service_proto", 135 visibility = [PUBLIC_PROTO_VISIBILITY], 136 deps = [":storage_go_proto"], 137 ) 138 139 java_proto_library( 140 name = "storage_service_java_proto", 141 deps = [":storage_service_proto"], 142 ) 143 144 # Public Kythe analyzer 145 proto_library( 146 name = "analysis_proto", 147 srcs = ["analysis.proto"], 148 visibility = [ 149 "//kythe:proto_visibility", 150 ], 151 deps = [ 152 ":storage_proto", 153 "@com_google_protobuf//:any_proto", 154 "@com_google_protobuf//:timestamp_proto", 155 ], 156 ) 157 158 cc_proto_library( 159 name = "analysis_cc_proto", 160 visibility = [PUBLIC_PROTO_VISIBILITY], 161 deps = [":analysis_proto"], 162 ) 163 164 go_proto_library( 165 name = "analysis_go_proto", 166 importpath = "kythe.io/kythe/proto/analysis_go_proto", 167 proto = ":analysis_proto", 168 visibility = [PUBLIC_PROTO_VISIBILITY], 169 deps = [ 170 ":storage_go_proto", 171 ], 172 ) 173 174 java_proto_library( 175 name = "analysis_java_proto", 176 visibility = [PUBLIC_PROTO_VISIBILITY], 177 deps = [":analysis_proto"], 178 ) 179 180 # Public Kythe file data service APIs 181 proto_library( 182 name = "analysis_service_proto", 183 srcs = ["analysis_service.proto"], 184 visibility = [ 185 "//kythe:proto_visibility", 186 ], 187 deps = [":analysis_proto"], 188 ) 189 190 cc_proto_library( 191 name = "analysis_service_cc_proto", 192 deps = [":analysis_service_proto"], 193 ) 194 195 go_proto_library( 196 name = "analysis_service_go_proto", 197 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 198 importpath = "kythe.io/kythe/proto/analysis_service_go_proto", 199 proto = ":analysis_service_proto", 200 deps = [":analysis_go_proto"], 201 ) 202 203 java_proto_library( 204 name = "analysis_service_java_proto", 205 deps = [":analysis_service_proto"], 206 ) 207 208 # Public Kythe status service API 209 proto_library( 210 name = "status_service_proto", 211 srcs = ["status_service.proto"], 212 deps = [":common_proto"], 213 ) 214 215 cc_proto_library( 216 name = "status_service_cc_proto", 217 deps = [":status_service_proto"], 218 ) 219 220 go_proto_library( 221 name = "status_service_go_proto", 222 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 223 importpath = "kythe.io/kythe/proto/status_service_go_proto", 224 proto = ":status_service_proto", 225 deps = [":common_go_proto"], 226 ) 227 228 java_proto_library( 229 name = "status_service_java_proto", 230 deps = [":status_service_proto"], 231 ) 232 233 # Context-dependent version information, for claiming. 234 proto_library( 235 name = "filecontext_proto", 236 srcs = ["filecontext.proto"], 237 ) 238 239 cc_proto_library( 240 name = "filecontext_cc_proto", 241 deps = [":filecontext_proto"], 242 ) 243 244 go_proto_library( 245 name = "filecontext_go_proto", 246 importpath = "kythe.io/kythe/proto/filecontext_go_proto", 247 proto = ":filecontext_proto", 248 ) 249 250 java_proto_library( 251 name = "filecontext_java_proto", 252 deps = [":filecontext_proto"], 253 ) 254 255 # Build tool details for compilation units 256 proto_library( 257 name = "buildinfo_proto", 258 srcs = ["buildinfo.proto"], 259 ) 260 261 cc_proto_library( 262 name = "buildinfo_cc_proto", 263 visibility = [PUBLIC_PROTO_VISIBILITY], 264 deps = [":buildinfo_proto"], 265 ) 266 267 go_proto_library( 268 name = "buildinfo_go_proto", 269 importpath = "kythe.io/kythe/proto/buildinfo_go_proto", 270 proto = ":buildinfo_proto", 271 ) 272 273 java_proto_library( 274 name = "buildinfo_java_proto", 275 deps = [":buildinfo_proto"], 276 ) 277 278 # C++-specific protocol buffer definitions 279 proto_library( 280 name = "cxx_proto", 281 srcs = ["cxx.proto"], 282 ) 283 284 cc_proto_library( 285 name = "cxx_cc_proto", 286 deps = [":cxx_proto"], 287 ) 288 289 go_proto_library( 290 name = "cxx_go_proto", 291 importpath = "kythe.io/kythe/proto/cxx_go_proto", 292 proto = ":cxx_proto", 293 ) 294 295 java_proto_library( 296 name = "cxx_java_proto", 297 deps = [":cxx_proto"], 298 ) 299 300 # Go-specific protocol buffer definitions 301 proto_library( 302 name = "go_proto", 303 srcs = ["go.proto"], 304 ) 305 306 cc_proto_library( 307 name = "go_cc_proto", 308 deps = [":go_proto"], 309 ) 310 311 go_proto_library( 312 name = "go_go_proto", 313 importpath = "kythe.io/kythe/proto/go_go_proto", 314 proto = ":go_proto", 315 ) 316 317 java_proto_library( 318 name = "go_java_proto", 319 deps = [":go_proto"], 320 ) 321 322 # Java-specific protocol buffer definitions 323 proto_library( 324 name = "java_proto", 325 srcs = ["java.proto"], 326 deps = [":storage_proto"], 327 ) 328 329 cc_proto_library( 330 name = "java_cc_proto", 331 deps = [":java_proto"], 332 ) 333 334 go_proto_library( 335 name = "java_go_proto", 336 importpath = "kythe.io/kythe/proto/java_go_proto", 337 proto = ":java_proto", 338 deps = [":storage_go_proto"], 339 ) 340 341 java_proto_library( 342 name = "java_java_proto", 343 deps = [":java_proto"], 344 ) 345 346 # Kythe claiming message definitions 347 proto_library( 348 name = "claim_proto", 349 srcs = ["claim.proto"], 350 deps = [":storage_proto"], 351 ) 352 353 cc_proto_library( 354 name = "claim_cc_proto", 355 deps = [":claim_proto"], 356 ) 357 358 go_proto_library( 359 name = "claim_go_proto", 360 importpath = "kythe.io/kythe/proto/claim_go_proto", 361 proto = ":claim_proto", 362 deps = [":storage_go_proto"], 363 ) 364 365 java_proto_library( 366 name = "claim_java_proto", 367 deps = [":claim_proto"], 368 ) 369 370 # Public Kythe filetree service API 371 proto_library( 372 name = "filetree_proto", 373 srcs = ["filetree.proto"], 374 ) 375 376 cc_proto_library( 377 name = "filetree_cc_proto", 378 deps = [":filetree_proto"], 379 ) 380 381 go_proto_library( 382 name = "filetree_go_proto", 383 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 384 importpath = "kythe.io/kythe/proto/filetree_go_proto", 385 proto = ":filetree_proto", 386 ) 387 388 java_proto_library( 389 name = "filetree_java_proto", 390 deps = [":filetree_proto"], 391 ) 392 393 # Public Kythe xref service API 394 proto_library( 395 name = "xref_proto", 396 srcs = ["xref.proto"], 397 visibility = [ 398 # TODO(schroederc): prune once MarkedSource has migrated to common.proto 399 "//kythe/cxx/common:__pkg__", 400 "//kythe/cxx/doc:__pkg__", 401 "//kythe/go/languageserver:__subpackages__", 402 "//kythe/go/platform/tools:__subpackages__", 403 "//kythe/go/services:__subpackages__", 404 "//kythe/go/serving:__subpackages__", 405 "//kythe/go/test:__subpackages__", 406 "//kythe/go/util/markedsource:__pkg__", 407 "//kythe/java/com/google/devtools/kythe/doc:__subpackages__", 408 "//kythe/javatests/com/google/devtools/kythe/doc:__subpackages__", 409 ], 410 deps = [":common_proto"], 411 ) 412 413 cc_proto_library( 414 name = "xref_cc_proto", 415 visibility = [PUBLIC_PROTO_VISIBILITY], 416 deps = [":xref_proto"], 417 ) 418 419 go_proto_library( 420 name = "xref_go_proto", 421 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 422 importpath = "kythe.io/kythe/proto/xref_go_proto", 423 proto = ":xref_proto", 424 deps = [":common_go_proto"], 425 ) 426 427 java_proto_library( 428 name = "xref_java_proto", 429 deps = [":xref_proto"], 430 ) 431 432 proto_library( 433 name = "identifier_proto", 434 srcs = ["identifier.proto"], 435 ) 436 437 cc_proto_library( 438 name = "identifier_cc_proto", 439 deps = [":identifier_proto"], 440 ) 441 442 go_proto_library( 443 name = "identifier_go_proto", 444 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 445 importpath = "kythe.io/kythe/proto/identifier_go_proto", 446 proto = ":identifier_proto", 447 ) 448 449 java_proto_library( 450 name = "identifier_java_proto", 451 deps = [":identifier_proto"], 452 ) 453 454 # Public Kythe graph service API 455 proto_library( 456 name = "graph_proto", 457 srcs = ["graph.proto"], 458 deps = [":common_proto"], 459 ) 460 461 go_proto_library( 462 name = "graph_go_proto", 463 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 464 importpath = "kythe.io/kythe/proto/graph_go_proto", 465 proto = ":graph_proto", 466 deps = [":common_go_proto"], 467 ) 468 469 cc_proto_library( 470 name = "graph_cc_proto", 471 deps = [":graph_proto"], 472 ) 473 474 java_proto_library( 475 name = "graph_java_proto", 476 deps = [":graph_proto"], 477 ) 478 479 # Public Kythe graph exploration API 480 proto_library( 481 name = "explore_proto", 482 srcs = ["explore.proto"], 483 deps = [ 484 ":common_proto", 485 ":storage_proto", 486 ":xref_proto", 487 ], 488 ) 489 490 go_proto_library( 491 name = "explore_go_proto", 492 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 493 importpath = "kythe.io/kythe/proto/explore_go_proto", 494 proto = ":explore_proto", 495 deps = [ 496 ":common_go_proto", 497 ":storage_go_proto", 498 ":xref_go_proto", 499 ], 500 ) 501 502 cc_proto_library( 503 name = "explore_cc_proto", 504 deps = [":explore_proto"], 505 ) 506 507 java_proto_library( 508 name = "explore_java_proto", 509 deps = [":explore_proto"], 510 ) 511 512 # Protocol buffer definitions used to encode serving data 513 # WARNING: These should not be exposed to clients. 514 proto_library( 515 name = "serving_proto", 516 srcs = ["serving.proto"], 517 visibility = [ 518 "//kythe/go/serving:__subpackages__", 519 "//kythe/go/util/tools:__subpackages__", 520 "//kythe/java/com/google/devtools/kythe/util:__subpackages__", 521 "//kythe/javatests/com/google/devtools/kythe/util:__subpackages__", 522 ], 523 deps = [":common_proto"], 524 ) 525 526 cc_proto_library( 527 name = "serving_cc_proto", 528 deps = [":serving_proto"], 529 ) 530 531 go_proto_library( 532 name = "serving_go_proto", 533 importpath = "kythe.io/kythe/proto/serving_go_proto", 534 proto = ":serving_proto", 535 deps = [":common_go_proto"], 536 ) 537 538 java_proto_library( 539 name = "serving_java_proto", 540 visibility = ["//visibility:public"], 541 deps = [":serving_proto"], 542 ) 543 544 proto_library( 545 name = "xref_serving_proto", 546 srcs = ["xref_serving.proto"], 547 visibility = ["//kythe/go/serving:__subpackages__"], 548 deps = [ 549 ":common_proto", 550 ":schema_proto", 551 ":serving_proto", 552 ":storage_proto", 553 ], 554 ) 555 556 go_proto_library( 557 name = "xref_serving_go_proto", 558 importpath = "kythe.io/kythe/proto/xref_serving_go_proto", 559 proto = ":xref_serving_proto", 560 deps = [ 561 ":common_go_proto", 562 ":schema_go_proto", 563 ":serving_go_proto", 564 ":storage_go_proto", 565 ], 566 ) 567 568 proto_library( 569 name = "graph_serving_proto", 570 srcs = ["graph_serving.proto"], 571 visibility = ["//kythe/go/serving:__subpackages__"], 572 deps = [ 573 ":schema_proto", 574 ":storage_proto", 575 ], 576 ) 577 578 go_proto_library( 579 name = "graph_serving_go_proto", 580 importpath = "kythe.io/kythe/proto/graph_serving_go_proto", 581 proto = ":graph_serving_proto", 582 deps = [ 583 ":schema_go_proto", 584 ":storage_go_proto", 585 ], 586 ) 587 588 proto_library( 589 name = "link_proto", 590 srcs = ["link.proto"], 591 deps = [":common_proto"], 592 ) 593 594 cc_proto_library( 595 name = "link_cc_proto", 596 deps = [":link_proto"], 597 ) 598 599 go_proto_library( 600 name = "link_go_proto", 601 compilers = ["@io_bazel_rules_go//proto:go_grpc"], 602 importpath = "kythe.io/kythe/proto/link_go_proto", 603 proto = ":link_proto", 604 deps = [":common_go_proto"], 605 ) 606 607 java_proto_library( 608 name = "link_java_proto", 609 deps = [":link_proto"], 610 ) 611 612 # Protocol buffer definitions internal only to the Kythe libraries and tools. 613 # WARNING: These should not be exposed to clients. 614 proto_library( 615 name = "internal_proto", 616 srcs = ["internal.proto"], 617 deps = [":serving_proto"], 618 ) 619 620 cc_proto_library( 621 name = "internal_cc_proto", 622 deps = [":internal_proto"], 623 ) 624 625 go_proto_library( 626 name = "internal_go_proto", 627 importpath = "kythe.io/kythe/proto/internal_go_proto", 628 proto = ":internal_proto", 629 deps = [":serving_go_proto"], 630 ) 631 632 java_proto_library( 633 name = "internal_java_proto", 634 deps = [":internal_proto"], 635 ) 636 637 # Protocol buffer definitions used to record indexer outputs for storage. 638 # WARNING: These should not be exposed to clients. 639 proto_library( 640 name = "entryset_proto", 641 srcs = ["entryset.proto"], 642 ) 643 644 cc_proto_library( 645 name = "entryset_cc_proto", 646 deps = [":entryset_proto"], 647 ) 648 649 go_proto_library( 650 name = "entryset_go_proto", 651 importpath = "kythe.io/kythe/proto/entryset_go_proto", 652 proto = ":entryset_proto", 653 ) 654 655 java_proto_library( 656 name = "entryset_java_proto", 657 deps = [":entryset_proto"], 658 ) 659 660 proto_library( 661 name = "extraction_config_proto", 662 srcs = ["extraction_config.proto"], 663 ) 664 665 go_proto_library( 666 name = "extraction_config_go_proto", 667 importpath = "kythe.io/kythe/proto/extraction_config_go_proto", 668 proto = ":extraction_config_proto", 669 ) 670 671 proto_library( 672 name = "repo_proto", 673 srcs = ["repo.proto"], 674 ) 675 676 go_proto_library( 677 name = "repo_go_proto", 678 importpath = "kythe.io/kythe/proto/repo_go_proto", 679 proto = ":repo_proto", 680 ) 681 682 proto_library( 683 name = "pipeline_proto", 684 srcs = ["pipeline.proto"], 685 deps = [ 686 ":common_proto", 687 ":schema_proto", 688 ":serving_proto", 689 ":storage_proto", 690 ":xref_serving_proto", 691 ], 692 ) 693 694 go_proto_library( 695 name = "pipeline_go_proto", 696 importpath = "kythe.io/kythe/proto/pipeline_go_proto", 697 proto = ":pipeline_proto", 698 deps = [ 699 ":common_go_proto", 700 ":schema_go_proto", 701 ":serving_go_proto", 702 ":storage_go_proto", 703 ":xref_serving_go_proto", 704 ], 705 ) 706 707 proto_library( 708 name = "driver_proto", 709 srcs = ["driver.proto"], 710 deps = [ 711 ":analysis_proto", 712 ":common_proto", 713 ":storage_proto", 714 ], 715 ) 716 717 go_proto_library( 718 name = "driver_go_proto", 719 importpath = "kythe.io/kythe/proto/driver_go_proto", 720 proto = ":driver_proto", 721 deps = [ 722 ":analysis_go_proto", 723 ":common_go_proto", 724 ":storage_go_proto", 725 ], 726 ) 727 728 # Generated code metadata rule descriptor. 729 proto_library( 730 name = "metadata_proto", 731 srcs = ["metadata.proto"], 732 deps = [":storage_proto"], 733 ) 734 735 go_proto_library( 736 name = "metadata_go_proto", 737 importpath = "kythe.io/kythe/proto/metadata_go_proto", 738 proto = ":metadata_proto", 739 deps = [":storage_go_proto"], 740 ) 741 742 cc_proto_library( 743 name = "metadata_cc_proto", 744 deps = [":metadata_proto"], 745 ) 746 747 java_proto_library( 748 name = "metadata_java_proto", 749 deps = [":metadata_proto"], 750 ) 751 752 bzl_library( 753 name = "genproto_bzl", 754 srcs = ["genproto.bzl"], 755 ) 756 757 bzl_library( 758 name = "go_bzl", 759 srcs = ["go.bzl"], 760 ) 761 762 proto_library( 763 name = "bazel_artifact_selector_proto", 764 srcs = ["bazel_artifact_selector.proto"], 765 deps = [ 766 "//third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_proto", 767 ], 768 ) 769 770 # gazelle:resolve proto go third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto //third_party/bazel:build_event_stream_go_proto 771 go_proto_library( 772 name = "bazel_artifact_selector_go_proto", 773 importpath = "kythe.io/kythe/proto/bazel_artifact_selector_go_proto", 774 proto = ":bazel_artifact_selector_proto", 775 deps = ["//third_party/bazel:build_event_stream_go_proto"], 776 ) 777 778 cc_proto_library( 779 name = "bazel_artifact_selector_cc_proto", 780 deps = [ 781 ":bazel_artifact_selector_proto", 782 ], 783 ) 784 785 proto_library( 786 name = "bazel_artifact_selector_v2_proto", 787 srcs = ["bazel_artifact_selector_v2.proto"], 788 ) 789 790 cc_proto_library( 791 name = "bazel_artifact_selector_v2_cc_proto", 792 deps = [ 793 ":bazel_artifact_selector_v2_proto", 794 ], 795 ) 796 797 go_proto_library( 798 name = "bazel_artifact_selector_v2_go_proto", 799 importpath = "kythe.io/kythe/proto/bazel_artifact_selector_v2_go_proto", 800 proto = ":bazel_artifact_selector_v2_proto", 801 ) 802 803 # Public GeneratedProtoInfo file option 804 proto_library( 805 name = "generated_message_info_proto", 806 srcs = ["generated_message_info.proto"], 807 visibility = [PUBLIC_PROTO_VISIBILITY], 808 deps = [ 809 "@com_google_protobuf//:descriptor_proto", 810 ], 811 ) 812 813 go_proto_library( 814 name = "generated_message_info_go_proto", 815 importpath = "kythe.io/kythe/proto/generated_message_info_go_proto", 816 proto = ":generated_message_info_proto", 817 visibility = [PUBLIC_PROTO_VISIBILITY], 818 ) 819 820 java_proto_library( 821 name = "generated_message_info_java_proto", 822 visibility = [PUBLIC_PROTO_VISIBILITY], 823 deps = [ 824 ":generated_message_info_proto", 825 ], 826 ) 827 828 cc_proto_library( 829 name = "generated_message_info_cc_proto", 830 visibility = [PUBLIC_PROTO_VISIBILITY], 831 deps = [ 832 ":generated_message_info_proto", 833 ], 834 ) 835 836 proto_library( 837 name = "vnames_config_proto", 838 srcs = ["vnames_config.proto"], 839 deps = [":storage_proto"], 840 ) 841 842 cc_proto_library( 843 name = "vnames_config_cc_proto", 844 deps = [":vnames_config_proto"], 845 ) 846 847 go_proto_library( 848 name = "vnames_config_go_proto", 849 importpath = "kythe.io/kythe/proto/vnames_config_go_proto", 850 proto = ":vnames_config_proto", 851 deps = [":storage_go_proto"], 852 ) 853 854 # Uses native.existing_rules() to find rules to update; must come last. 855 update_generated_protos( 856 name = "update", 857 additional_update_targets = [ 858 # Ensure this updates the protos which live elsewhere. 859 "//kythe/go/util/riegeli:riegeli_test_go_proto_sync", 860 "//third_party/bazel:update", 861 ], 862 )