aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/android/java/com/google/devtools/build/android/proto
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2016-06-28 22:24:56 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-06-29 08:56:18 +0000
commitd9bf45b0ed79aa0a02edccaa5f0b2dab33f25ddc (patch)
treecc9472a06317c3abd5c256560968d60ae70fbba6 /src/tools/android/java/com/google/devtools/build/android/proto
parent242ff7fcf34ec05785725e3f441beae320b64688 (diff)
Record whether the attr is defined or referenced in the styleable. Despite the functional equality, the definition type of the attribute has direct impact on the order in which the attribute appears in the styleable array.
-- MOS_MIGRATED_REVID=126126122
Diffstat (limited to 'src/tools/android/java/com/google/devtools/build/android/proto')
-rw-r--r--src/tools/android/java/com/google/devtools/build/android/proto/serialize_format.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/android/java/com/google/devtools/build/android/proto/serialize_format.proto b/src/tools/android/java/com/google/devtools/build/android/proto/serialize_format.proto
index 32670daab2..e546aa0ad7 100644
--- a/src/tools/android/java/com/google/devtools/build/android/proto/serialize_format.proto
+++ b/src/tools/android/java/com/google/devtools/build/android/proto/serialize_format.proto
@@ -38,6 +38,8 @@ message DataKey {
// The size of the associated value. Useful for calculating an offset.
// Required
optional int32 value_size = 6;
+ // Whether this DataKey is a reference to another DataKey.
+ optional bool reference = 7;
}
// The serialized format for a DataValue.
@@ -72,4 +74,5 @@ message DataValueXml {
repeated string list_value = 4;
optional string value = 5;
optional string value_type = 6;
+ repeated DataKey references = 7;
}