mirror of
https://github.com/google/flatbuffers.git
synced 2026-11-08 21:29:10 +00:00
Bigfoot
This commit is contained in:
+15
-17
@@ -251,6 +251,21 @@ flatc(
|
||||
schema="vector_table_naked_ptr.fbs",
|
||||
)
|
||||
|
||||
flatc(
|
||||
[
|
||||
"--cpp",
|
||||
"--gen-compare",
|
||||
"--gen-mutable",
|
||||
"--gen-object-api",
|
||||
"--reflect-names",
|
||||
"--cpp-include",
|
||||
"test_vector_type.h",
|
||||
"--cpp-vector-type",
|
||||
"::flatbuffers::tests::CustomVector",
|
||||
],
|
||||
schema="cpp_vector_type.fbs",
|
||||
)
|
||||
|
||||
flatc(
|
||||
BASE_OPTS + CPP_OPTS + CS_OPTS + JAVA_OPTS + KOTLIN_OPTS + PHP_OPTS,
|
||||
prefix="union_vector",
|
||||
@@ -394,11 +409,6 @@ flatc(
|
||||
schema="native_inline_table_test.fbs",
|
||||
)
|
||||
|
||||
flatc(
|
||||
["--cpp", "--gen-compare", "--gen-mutable", "--gen-object-api", "--reflect-names"],
|
||||
schema="cross_namespace_pack_test.fbs",
|
||||
)
|
||||
|
||||
flatc(
|
||||
RUST_OPTS,
|
||||
prefix="arrays_test",
|
||||
@@ -422,11 +432,6 @@ flatc(
|
||||
schema="nested_union_test.fbs",
|
||||
)
|
||||
|
||||
flatc(
|
||||
["--python", "--gen-object-api"],
|
||||
schema="union_name_test.fbs",
|
||||
)
|
||||
|
||||
flatc(
|
||||
NO_INCL_OPTS + CPP_OPTS,
|
||||
schema="default_vectors_strings_test.fbs",
|
||||
@@ -527,13 +532,6 @@ flatc(
|
||||
cwd=swift_code_gen,
|
||||
)
|
||||
|
||||
flatc(
|
||||
SWIFT_OPTS_CODE_GEN + BASE_OPTS,
|
||||
schema="empty_vtable.fbs",
|
||||
cwd=swift_code_gen,
|
||||
prefix="../../Tests/Flatbuffers/",
|
||||
)
|
||||
|
||||
# Swift Wasm Tests
|
||||
swift_Wasm_prefix = "swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests"
|
||||
flatc(
|
||||
|
||||
@@ -20,7 +20,6 @@ from util import flatc, root_path
|
||||
grpc_examples_path = Path(root_path, "grpc/examples")
|
||||
|
||||
greeter_schema = str(Path(grpc_examples_path, "greeter.fbs"))
|
||||
greeter_schema_v2 = str(Path(grpc_examples_path, "greeter_v2.fbs"))
|
||||
|
||||
COMMON_ARGS = [
|
||||
"--grpc",
|
||||
@@ -55,8 +54,8 @@ def GenerateGRPCExamples():
|
||||
"--swift",
|
||||
"--gen-json-emit",
|
||||
],
|
||||
schema=greeter_schema_v2,
|
||||
cwd=Path(grpc_examples_path, "swift/Greeter/Sources/Models"),
|
||||
schema=greeter_schema,
|
||||
cwd=Path(grpc_examples_path, "swift/Greeter/Sources/Model"),
|
||||
)
|
||||
|
||||
flatc(
|
||||
|
||||
Reference in New Issue
Block a user