From 9817bf6c763c34d98496dd9a91fb40419ff2955c Mon Sep 17 00:00:00 2001 From: Derek Bailey Date: Fri, 19 Nov 2021 18:21:38 -0800 Subject: [PATCH] update other build environments --- .github/labeler.yml | 1 + BUILD.bazel | 1 + android/app/src/main/cpp/flatbuffers/CMakeLists.txt | 1 + src/BUILD.bazel | 6 ++++++ 4 files changed, 9 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index 6d4ee88e08e4..03fd1a1cc6de 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -49,6 +49,7 @@ lua: - '**/*.lua' - lua/**/* - src/idl_gen_lua.cpp + - src/bfbs_gen_lua.cpp lobster: - '**/*.lobster' diff --git a/BUILD.bazel b/BUILD.bazel index 9b7c1232259e..4a14450fa499 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -40,6 +40,7 @@ filegroup( "include/flatbuffers/allocator.h", "include/flatbuffers/array.h", "include/flatbuffers/base.h", + "include/flatbuffers/bfbs_generator.h", "include/flatbuffers/buffer.h", "include/flatbuffers/buffer_ref.h", "include/flatbuffers/code_generators.h", diff --git a/android/app/src/main/cpp/flatbuffers/CMakeLists.txt b/android/app/src/main/cpp/flatbuffers/CMakeLists.txt index 7ce2a2c93e82..0e5f3e94898a 100644 --- a/android/app/src/main/cpp/flatbuffers/CMakeLists.txt +++ b/android/app/src/main/cpp/flatbuffers/CMakeLists.txt @@ -18,6 +18,7 @@ set(FlatBuffers_Library_SRCS ${FLATBUFFERS_SRC}/include/flatbuffers/allocator.h ${FLATBUFFERS_SRC}/include/flatbuffers/array.h ${FLATBUFFERS_SRC}/include/flatbuffers/base.h + ${FLATBUFFERS_SRC}/include/flatbuffers/bfbs_generator.h ${FLATBUFFERS_SRC}/include/flatbuffers/buffer.h ${FLATBUFFERS_SRC}/include/flatbuffers/buffer_ref.h ${FLATBUFFERS_SRC}/include/flatbuffers/default_allocator.h diff --git a/src/BUILD.bazel b/src/BUILD.bazel index a1cad077fbd2..28bc55132415 100644 --- a/src/BUILD.bazel +++ b/src/BUILD.bazel @@ -34,6 +34,9 @@ cc_library( cc_library( name = "flatc_library", srcs = [ + "bfbs_gen.h", + "bfbs_gen_lua.cpp", + "bfbs_gen_lua.h", "flatc.cpp", ], hdrs = [ @@ -50,6 +53,9 @@ cc_library( cc_library( name = "flatc", srcs = [ + "bfbs_gen.h", + "bfbs_gen_lua.cpp", + "bfbs_gen_lua.h", "flatc_main.cpp", "idl_gen_cpp.cpp", "idl_gen_csharp.cpp",