Remove references to STRING_DICT_UNARY
This type is no longer used and has removed from bazel.
RELNOTES: None
PiperOrigin-RevId: 153471066
diff --git a/src/main/protobuf/build.proto b/src/main/protobuf/build.proto
index 029e0cf..7cc0408 100644
--- a/src/main/protobuf/build.proto
+++ b/src/main/protobuf/build.proto
@@ -32,11 +32,6 @@
required string value = 2;
}
-message StringDictUnaryEntry {
- required string key = 1;
- required string value = 2;
-}
-
message LabelDictUnaryEntry {
required string key = 1;
required string value = 2;
@@ -133,11 +128,13 @@
BOOLEAN = 14; // int, bool and string value
TRISTATE = 15; // tristate, int and string value
INTEGER_LIST = 16; // int_list_value
- STRING_DICT_UNARY = 17; // string_dict_unary_value (DEPRECATED)
UNKNOWN = 18; // unknown type, use only for build extensions
LABEL_DICT_UNARY = 19; // label_dict_unary_value
SELECTOR_LIST = 20; // selector_list
LABEL_KEYED_STRING_DICT = 21; // label_keyed_string_dict
+
+ DEPRECATED_STRING_DICT_UNARY = 17;
+
}
// Values for the TriState field type.
@@ -176,9 +173,10 @@
repeated StringListDictEntry string_list_dict_value = 11;
repeated GlobCriteria glob_criteria = 12;
repeated int32 int_list_value = 13;
- repeated StringDictUnaryEntry string_dict_unary_value = 14;
repeated LabelDictUnaryEntry label_dict_unary_value = 15;
repeated LabelKeyedStringDictEntry label_keyed_string_dict_value = 17;
+
+ repeated bytes DEPRECATED_string_dict_unary_value = 14;
}
message Selector {
@@ -268,9 +266,6 @@
// The value of the attribute has a list of int32 values
repeated int32 int_list_value = 17;
- // If this is a string dict unary, each entry will be stored here.
- repeated StringDictUnaryEntry string_dict_unary_value = 18;
-
// If this is a label dict unary, each entry will be stored here.
repeated LabelDictUnaryEntry label_dict_unary_value = 19;
@@ -281,6 +276,8 @@
// expressions, then its type is SELECTOR_LIST and a SelectorList will be
// stored here.
optional SelectorList selector_list = 21;
+
+ repeated bytes DEPRECATED_string_dict_unary_value = 18;
}
// A rule from a BUILD file (e.g., cc_library, java_binary). The rule class