Skip to content

Commit

Permalink
Closes mozilla-mobile#22321: Add temporary protoc version workaround …
Browse files Browse the repository at this point in the history
…for M1 Macbooks
  • Loading branch information
MatthewTighe authored and pkirakosyan committed Mar 7, 2022
1 parent 879dd10 commit 76562fc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76562fc

Please sign in to comment.