Add -iquote include paths for a target before the -iquote includes from its dependencies
RELNOTES: None.
@@ -898,6 +898,7 @@ public final class CcCompilationHelper {
ccCompilationContextBuilder.addSystemIncludeDirs(systemIncludeDirs);
ccCompilationContextBuilder.addFrameworkIncludeDirs(frameworkIncludeDirs);
+ ccCompilationContextBuilder.addQuoteIncludeDirs(quoteIncludeDirs);
for (PathFragment includeDir : includeDirs) {
ccCompilationContextBuilder.addIncludeDir(includeDir);
@@ -995,7 +996,6 @@ public final class CcCompilationHelper {
}
}
ccCompilationContextBuilder.setPurpose(purpose);
- ccCompilationContextBuilder.addQuoteIncludeDirs(quoteIncludeDirs);
return ccCompilationContextBuilder.build();
}
