From a330a4c2c1e1cb38bc4466a92766203bd9136958 Mon Sep 17 00:00:00 2001 From: Jon Simantov Date: Tue, 12 Sep 2023 13:08:17 -0700 Subject: [PATCH] Apply unused variables patch to Flatbuffers on Android as well. Already applied on desktop elsewhere. --- messaging/messaging_java/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/messaging/messaging_java/build.gradle b/messaging/messaging_java/build.gradle index 9a2126f779..6b2fccefc9 100644 --- a/messaging/messaging_java/build.gradle +++ b/messaging/messaging_java/build.gradle @@ -81,6 +81,14 @@ afterEvaluate { 'https://github.com/google/flatbuffers.git', flatbuffersDir } + exec { + executable 'git' + args 'apply', + '../../scripts/git/patches/flatbuffers/0001-remove-unused-var.patch', + '--verbose', + '--directory', + 'messaging/messaging_java/build/flatbuffers' + } } // Locate or build flatc.