message: Inline ADDITIONAL_CORE_PROTO_SRCS into the one place it is used.
diff: @@ -233,30 +233,6 @@ ERROR_CODES_PROTO_SRCS = [
  CORE_PROTO_SRCS = COMMON_PROTO_SRCS + ERROR_CODES_PROTO_SRCS
  -# Protos which are not needed on mobile builds, but should be included in
  -# protos_all.
  -#
  -# Note that some protos are in neither core_proto_srcs nor this filegroup; e.g.
  -# ones with individual proto_library targets.
  -ADDITIONAL_CORE_PROTO_SRCS = [
  - "example/example_parser_configuration.proto",
  - "protobuf/trackable_object_graph.proto",
  - "protobuf/control_flow.proto",
  - "protobuf/data/experimental/snapshot.proto",
  - # TODO(ebrevdo): Re-enable once CriticalSection is in core.
  - # "protobuf/critical_section.proto",
  - "protobuf/debug_event.proto",
  - "protobuf/meta_graph.proto",
  - "protobuf/named_tensor.proto",
  - "protobuf/remote_tensor_handle.proto",
  - "protobuf/saved_model.proto",
  - "protobuf/saved_object_graph.proto",
  - "protobuf/struct.proto",
  - "protobuf/tensorflow_server.proto",
  - "protobuf/transport_options.proto",
  - "util/test_log.proto",
  -]
  -
  tf_proto_library(
  name = "protos_all",
  srcs = [],
  @@ -2545,7 +2521,29 @@ tf_proto_library(
  tf_proto_library(
  name = "protos_all_proto",
  - srcs = COMMON_PROTO_SRCS + ADDITIONAL_CORE_PROTO_SRCS,
  + srcs = COMMON_PROTO_SRCS + [
  + # Protos which are not needed on mobile builds, but should be included
  + # in protos_all.
  + #
  + # Note that some protos are in neither core_proto_srcs nor this
  + # filegroup; e.g. ones with individual proto_library targets.
  + "example/example_parser_configuration.proto",
  + "protobuf/trackable_object_graph.proto",
  + "protobuf/control_flow.proto",
  + "protobuf/data/experimental/snapshot.proto",
  + # TODO(ebrevdo): Re-enable once CriticalSection is in core.
  + # "protobuf/critical_section.proto",
  + "protobuf/debug_event.proto",
  + "protobuf/meta_graph.proto",
  + "protobuf/named_tensor.proto",
  + "protobuf/remote_tensor_handle.proto",
  + "protobuf/saved_model.proto",
  + "protobuf/saved_object_graph.proto",
  + "protobuf/struct.proto",
  + "protobuf/tensorflow_server.proto",
  + "protobuf/transport_options.proto",
  + "util/test_log.proto",
  + ],
  cc_api_version = 2,
  make_default_target_header_only = True,
  protodeps = [
  