From 0b103074bf63b5dfe1b5a9b0bea8db63985a8deb Mon Sep 17 00:00:00 2001 From: michajlo Date: Tue, 18 Apr 2017 18:29:57 +0200 Subject: Remove references to STRING_DICT_UNARY This type is no longer used and has removed from bazel. RELNOTES: None PiperOrigin-RevId: 153471066 --- src/main/protobuf/build.proto | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'src/main/protobuf/build.proto') diff --git a/src/main/protobuf/build.proto b/src/main/protobuf/build.proto index 029e0cfaf2..7cc04084cf 100644 --- a/src/main/protobuf/build.proto +++ b/src/main/protobuf/build.proto @@ -32,11 +32,6 @@ message StringDictEntry { 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 @@ message Attribute { 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 @@ message Attribute { 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 @@ message Attribute { // 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 @@ message Attribute { // 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 -- cgit v1.2.3