Automated rollback of commit
*** Reason for rollback ***
Breaks internal tests
*** Original change description ***
Pass default flags before custom flags to allow overriding
Target-specific copts should override "default" ones coming from the objc fragment.
Closes
@@ -305,11 +305,11 @@ public class CompilationSupport {
.addCcCompilationContexts(objcCompilationContext.getDepCcCompilationContexts())
.setCopts(
ImmutableList.<String>builder()
+ .addAll(getCompileRuleCopts())
.addAll(
ruleContext
.getFragment(ObjcConfiguration.class)
.getCoptsForCompilationMode())
- .addAll(getCompileRuleCopts())
.addAll(extraCompileArgs)
.addAll(
pathsToIncludeArgs(objcCompilationContext.getStrictDependencyIncludes()))
