Skip to content

Commit 8f2581c

Browse files
fergushendersoncopybara-github
authored andcommitted
Update flatbuffers version used in Play Services example app.
This is needed to fix an incompatibility with the LiteRT(TFLite)-in-Play-services C API SDK in play-services-tflite-java version 16.3.0, which requires Flatbuffers version 24.3.25. PiperOrigin-RevId: 701553073
1 parent bce44d2 commit 8f2581c

File tree

1 file changed

+6
-1
lines changed
  • lite/examples/native_api/android_play_services/app/src/main/cpp

1 file changed

+6
-1
lines changed

lite/examples/native_api/android_play_services/app/src/main/cpp/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ FetchContent_Declare(
1515
# `tensorflow/lite/acceleration/configuration/configuration_generated.h`
1616
# in the `prefab/modules/tensorflowlite_jni_gms_client/include/` directory
1717
# of the `play-services-tflite-java-<version>.aar` file there.
18-
GIT_TAG v23.5.26
18+
#
19+
# That version is currently "GIT_TAG v24.3.25",
20+
# but due to a build error in v24.3.25, we use a snapshot that is three PRs
21+
# later (all bug fixes), which fixes the build error.
22+
# See <https://github.com/google/flatbuffers/commit/e6463926479bd6b330cbcf673f7e917803fd5831>.
23+
GIT_TAG e6463926479bd6b330cbcf673f7e917803fd5831
1924
)
2025
set(FLATBUFFERS_BUILD_FLATC OFF)
2126
set(FLATBUFFERS_BUILD_TESTS OFF)

0 commit comments

Comments
 (0)