aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf/build.proto
diff options
context:
space:
mode:
authorGravatar Mark Schaller <mschaller@google.com>2015-07-07 16:42:48 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-07-08 11:40:52 +0000
commit4dbd628dc1384e5dce8c036e2b6bf93dd974bf04 (patch)
tree443bdbca048afca8c18096182fa77ae5d36f03f4 /src/main/protobuf/build.proto
parentd7311e0ddaf66857d5d7f332a6fad58e0bf7becb (diff)
Provide placeholder rule class for deserialized Skylark rules
At this time, Skylark-defined rule classes don't get serialized, and aren't available at package deserialization time. To allow packages with Skylark-defined rule classes to deserialize, we provide a placeholder rule class implementation for deserialized Skylark rules. -- MOS_MIGRATED_REVID=97679963
Diffstat (limited to 'src/main/protobuf/build.proto')
-rw-r--r--src/main/protobuf/build.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/protobuf/build.proto b/src/main/protobuf/build.proto
index 6780d4d844..9fb59b5c6d 100644
--- a/src/main/protobuf/build.proto
+++ b/src/main/protobuf/build.proto
@@ -136,6 +136,11 @@ message Attribute {
// Whether the attribute was explicitly specified
optional bool explicitly_specified = 13;
+ // If this attribute has a string value or a string list value, then this
+ // may be set to indicate that the value may be treated as a label that
+ // isn't a dependency of this attribute's rule.
+ optional bool nodep = 20;
+
// The type of attribute. This message is used for all of the different
// attribute types so the discriminator helps for figuring out what is
// stored in the message.
@@ -231,6 +236,9 @@ message Rule {
// The location of the target in the BUILD file in a machine-parseable form.
optional Location parseable_location = 8;
+
+ // The rule's class's public by default value.
+ optional bool public_by_default = 9;
}
// Summary of all transitive dependencies of 'rule,' where each dependent