From 1ad346f5c5250d0f3ae680ea984c260f5b911e89 Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Tue, 13 Jun 2017 17:00:08 -0700 Subject: [PATCH] Add workaround for aapt cruncher issue to complex_layout app (#10679) See https://github.com/flutter/flutter/issues/8986 --- dev/benchmarks/complex_layout/android/app/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev/benchmarks/complex_layout/android/app/build.gradle b/dev/benchmarks/complex_layout/android/app/build.gradle index 114a0ee109..4a8ab5e563 100644 --- a/dev/benchmarks/complex_layout/android/app/build.gradle +++ b/dev/benchmarks/complex_layout/android/app/build.gradle @@ -33,6 +33,14 @@ android { signingConfig signingConfigs.debug } } + + aaptOptions { + // TODO(goderbauer): remove when https://github.com/flutter/flutter/issues/8986 is resolved. + if(System.getenv("FLUTTER_CI_WIN")) { + println "AAPT cruncher disabled when running on CI, see https://github.com/flutter/flutter/issues/8986" + cruncherEnabled false + } + } } flutter {