Skip to content

Commit 303afdd

Browse files
vitautfacebook-github-bot
authored andcommitted
Add support for decoupled serialization to OSS
Summary: Update the OSS configs to use `<module>_types_serialization.cpp` introduced in D79106423 and remove the `__FBTHRIFT_SEPARATE_SERIALIZATION` workaround. Reviewed By: iahs Differential Revision: D80006546 fbshipit-source-id: cdffcef00baff6bb2109a10f59e4cc34439669c7
1 parent 2b30bb5 commit 303afdd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build/fbcode_builder/CMake/FBThriftCppLibrary.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ function(add_fbthrift_cpp_library LIB_NAME THRIFT_FILE)
6969
"${output_dir}/gen-cpp2/${base}_data.h"
7070
"${output_dir}/gen-cpp2/${base}_data.cpp"
7171
"${output_dir}/gen-cpp2/${base}_types.cpp"
72-
"${output_dir}/gen-cpp2/${base}_types_compact.cpp"
7372
"${output_dir}/gen-cpp2/${base}_types_binary.cpp"
73+
"${output_dir}/gen-cpp2/${base}_types_compact.cpp"
74+
"${output_dir}/gen-cpp2/${base}_types_serialization.cpp"
7475
"${output_dir}/gen-cpp2/${base}_metadata.cpp"
7576
)
7677
foreach(service IN LISTS ARG_SERVICES)
@@ -85,6 +86,7 @@ function(add_fbthrift_cpp_library LIB_NAME THRIFT_FILE)
8586
"${output_dir}/gen-cpp2/${service}AsyncClient.cpp"
8687
"${output_dir}/gen-cpp2/${service}_processmap_binary.cpp"
8788
"${output_dir}/gen-cpp2/${service}_processmap_compact.cpp"
89+
"${output_dir}/gen-cpp2/${service}_processmap_serialization.cpp"
8890
)
8991
endforeach()
9092

0 commit comments

Comments
 (0)