From 369af67f41bffe005d65085107039f43b99f1ab6 Mon Sep 17 00:00:00 2001 From: Matt Tighe Date: Wed, 24 Nov 2021 10:19:32 -0800 Subject: [PATCH] [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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 0fe19a8fa..bf1b1ef68 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -605,8 +605,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