Auto merge of #21361 - paulrouget:fasterBuild, r=MortimerGoro

Compile less

Fix #21332

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21361)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-08-09 10:06:55 -04:00 committed by GitHub
commit 78fabb9110
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,7 @@ android {
// Call our custom NDK Build task using flavor parameters
tasks.all {
compileTask ->
Pattern pattern = Pattern.compile(/^compile[A-Z][\w\d]+([A-Z][\w\d]+)(Debug|Release)/)
Pattern pattern = Pattern.compile(/^compile[A-Z][\w\d]+([A-Z][\w\d]+)(Debug|Release)Ndk/)
Matcher matcher = pattern.matcher(compileTask.name)
if (!matcher.find()) {
return