Skip to content

Commit 697385d

Browse files
authored
Apply unused variables patch to Flatbuffers on Android as well. (#1444)
Already applied on desktop elsewhere.
1 parent 0a3bd40 commit 697385d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

messaging/messaging_java/build.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ afterEvaluate {
8181
'https://github.com/google/flatbuffers.git',
8282
flatbuffersDir
8383
}
84+
exec {
85+
executable 'git'
86+
args 'apply',
87+
'../../scripts/git/patches/flatbuffers/0001-remove-unused-var.patch',
88+
'--verbose',
89+
'--directory',
90+
'messaging/messaging_java/build/flatbuffers'
91+
}
8492
}
8593

8694
// Locate or build flatc.

0 commit comments

Comments
 (0)