diff options
author | 2017-09-14 00:47:27 +0200 | |
---|---|---|
committer | 2017-09-14 18:47:05 +0200 | |
commit | 408bfe47a4c692d06d68192dd460a37367ce8245 (patch) | |
tree | 922654640d390402c480878d6f755da5dc0b756c /src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java | |
parent | da362c2b3f6ddfd502c9eb5c7896aa528a625db9 (diff) |
Lots more cleanup of "dynamic configurations" comments and test code.
PiperOrigin-RevId: 168607439
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java index 663312d433..390aa32254 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java @@ -102,16 +102,9 @@ public class CppRuleClasses { /** * Rule transition factory that enables LIPO on the LIPO context binary (i.e. applies a DATA -> * TARGET transition). - * - * <p>This is how dynamic configurations enable LIPO on the LIPO context. */ public static final RuleTransitionFactory LIPO_ON_DEMAND = - new RuleTransitionFactory() { - @Override - public Attribute.Transition buildTransitionFor(Rule rule) { - return new EnableLipoTransition(rule.getLabel()); - } - }; + (rule) -> new EnableLipoTransition(rule.getLabel()); /** * Label of a pseudo-filegroup that contains all crosstool and libcfiles for all configurations, |