From 76562fc78ab7cdbc9fab2c7ea218c3783fd69e18 Mon Sep 17 00:00:00 2001 From: Matt Tighe Date: Wed, 24 Nov 2021 10:19:32 -0800 Subject: [PATCH] Closes #22321: Add temporary protoc version workaround for M1 Macbooks --- app/build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index d3b494db4a43..e44159494cd2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -693,8 +693,14 @@ dependencies { } protobuf { + // Mac M1 workaround until we can bump the version. Dependent on A-S. + // See https://github.com/mozilla-mobile/fenix/issues/22321 protoc { - artifact = Deps.protobuf_compiler + if (osdetector.os == "osx") { + artifact = "${Deps.protobuf_compiler}:osx-x86_64" + } else { + artifact = Deps.protobuf_compiler + } } // Generates the java Protobuf-lite code for the Protobufs in this project. See