diff options
author | ccalvarin <ccalvarin@google.com> | 2018-03-30 08:40:44 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-30 08:42:27 -0700 |
commit | 78a5fcff8a311c71cfe163a40856f7413e346409 (patch) | |
tree | a0924ece21df20eccaf1ed073a4defb3f6e90131 /src/main/java/com/google/devtools/build/lib/rules | |
parent | 520c66fc48ae054807d969354fad6cdfcac45721 (diff) |
Remove category checking from incompatible changes.
String categories are deprecated, replace this special-cased value with a specific OptionMetadata tag, TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES.
RELNOTES: None.
PiperOrigin-RevId: 191069412
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java index 3251d17f76..fed559423e 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcCommandLineOptions.java @@ -292,10 +292,12 @@ public class ObjcCommandLineOptions extends FragmentOptions { @Option( name = "incompatible_strict_objc_module_maps", - category = "incompatible changes", defaultValue = "false", documentationCategory = OptionDocumentationCategory.TOOLCHAIN, - metadataTags = {OptionMetadataTag.INCOMPATIBLE_CHANGE}, + metadataTags = { + OptionMetadataTag.INCOMPATIBLE_CHANGE, + OptionMetadataTag.TRIGGERED_BY_ALL_INCOMPATIBLE_CHANGES + }, effectTags = {OptionEffectTag.CHANGES_INPUTS, OptionEffectTag.LOADING_AND_ANALYSIS}, help = "Propagates Objective-C module maps only to direct dependencies in the 'objc' provider, " |