mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 23:23:57 +00:00
Improve import handling for proto conversion (#5673)
* Keep include prefix when converting from proto. This change preserves the include prefix when generating flatbuffers from proto (with FBS_GEN_INCLUDES) defined. * Improve handling of imports in proto conversion. Previously, there was no runtime flag to make proto->fbs conversion keep the import structure of a collection of files. This change makes proto conversion respect the --no-gen-includes flag and skip the output of "generated" symbols.
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
ce3a1c43a2
commit
13c05f4da3
@@ -44,7 +44,9 @@ cc_test(
|
||||
":prototest/imported.proto",
|
||||
":prototest/test.golden",
|
||||
":prototest/test.proto",
|
||||
":prototest/test_include.golden",
|
||||
":prototest/test_union.golden",
|
||||
":prototest/test_union_include.golden",
|
||||
":unicode_test.json",
|
||||
":union_vector/union_vector.fbs",
|
||||
":union_vector/union_vector.json",
|
||||
|
||||
Reference in New Issue
Block a user