diff options
author | 2017-11-13 07:53:18 -0800 | |
---|---|---|
committer | 2017-11-13 07:54:40 -0800 | |
commit | 4eb87c196279ae4745428db260dde2155c7433e2 (patch) | |
tree | 857d0ef8e35b2eacee9bea1064024973e9d663c4 /src/main/protobuf | |
parent | 16c64e41f664c6d4c913f5f68e113748a78169a6 (diff) |
Allow an action_config to be activated by default.
PiperOrigin-RevId: 175531318
Diffstat (limited to 'src/main/protobuf')
-rw-r--r-- | src/main/protobuf/crosstool_config.proto | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/protobuf/crosstool_config.proto b/src/main/protobuf/crosstool_config.proto index 69b4a50c22..3ef9ad01c1 100644 --- a/src/main/protobuf/crosstool_config.proto +++ b/src/main/protobuf/crosstool_config.proto @@ -269,7 +269,7 @@ message CToolchain { // Action config activation occurs by the same semantics as features: a // feature can 'require' or 'imply' an action config in the same way that it // would another feature. - // Next ID: 8 + // Next ID: 9 message ActionConfig { // The name other features will use to activate this action config. Can // be the same as action_name. @@ -279,6 +279,11 @@ message CToolchain { // or 'c-module-compile'. required string action_name = 2; + // If 'true', this feature is enabled unless a rule type explicitly marks it + // as unsupported. Such action_configs cannot be turned off from within a + // BUILD file or the command line. + optional bool enabled = 8; + // The tool applied to the action will be the first Tool with a feature // set that matches the feature configuration. An error will be thrown // if no tool matches a provided feature configuration - for that reason, |