[Android] Temporarily force non-component builds

This fixes current crash for debug builds. Fix will come from upstream.
This commit is contained in:
samartnik
2021-02-04 23:52:52 -05:00
committed by mkarolin
parent 68b43207e8
commit 08ae20ee59
+4
View File
@@ -321,6 +321,10 @@ Config.prototype.buildArgs = function () {
if (this.buildConfig !== 'Release') {
// treat non-release builds like Debug builds
args.treat_warnings_as_errors = false
// TODO(samartnik): component builds crash at the moment on Android.
// We will need to revert this change once this fix is landed in upstream
// https://bugs.chromium.org/p/chromium/issues/detail?id=1166748#c14
args.is_component_build = false
} else {
// otherwise there is build error
// ld.lld: error: output file too large: 5861255936 bytes