[Android] Remove maven dependency of flatbuffers and use source folder (#7503)

This commit is contained in:
Paulo Pinheiro
2022-09-01 23:58:25 +02:00
committed by GitHub
parent a79d61ea85
commit 7f7547737e
4 changed files with 20 additions and 28 deletions

View File

@@ -6,6 +6,13 @@
#include "flatbuffers/flatbuffers.h"
// Ensure the included flatbuffers.h is the same version as when this file was
// generated, otherwise it may not be compatible.
static_assert(FLATBUFFERS_VERSION_MAJOR == 2 &&
FLATBUFFERS_VERSION_MINOR == 0 &&
FLATBUFFERS_VERSION_REVISION == 8,
"Non-compatible flatbuffers version included");
namespace com {
namespace fbs {
namespace app {