Skip to content

Commit 066ac6a

Browse files
Mizuchifacebook-github-bot
authored andcommitted
Migrate OSS project to handle protocol split
Summary: X-link: facebook/CacheLib#386 X-link: facebook/fb303#67 fbthrift has moved compact/binary protocol instantiation outside _types.cpp (to _types_compact.cpp and _types_binary.cpp). We need to add these two files to the build system. Differential Revision: D74687663
1 parent 00fe7df commit 066ac6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/fbcode_builder/CMake/FBThriftCppLibrary.cmake

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ 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"
73+
"${output_dir}/gen-cpp2/${base}_types_binary.cpp"
7274
"${output_dir}/gen-cpp2/${base}_metadata.cpp"
7375
)
7476
foreach(service IN LISTS ARG_SERVICES)

0 commit comments

Comments
 (0)