From 4a9d86ef53307637a1c2db51bc26c7b482c4ae32 Mon Sep 17 00:00:00 2001 From: TJ Yin Date: Wed, 14 May 2025 11:43:13 -0700 Subject: [PATCH] Migrate OSS project to handle protocol split (#386) Summary: X-link: https://github.com/facebook/fb303/pull/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 --- build/fbcode_builder/CMake/FBThriftCppLibrary.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake b/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake index 7147fada2..e29e7921f 100644 --- a/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake +++ b/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake @@ -69,6 +69,8 @@ function(add_fbthrift_cpp_library LIB_NAME THRIFT_FILE) "${output_dir}/gen-cpp2/${base}_data.h" "${output_dir}/gen-cpp2/${base}_data.cpp" "${output_dir}/gen-cpp2/${base}_types.cpp" + "${output_dir}/gen-cpp2/${base}_types_compact.cpp" + "${output_dir}/gen-cpp2/${base}_types_binary.cpp" "${output_dir}/gen-cpp2/${base}_metadata.cpp" ) foreach(service IN LISTS ARG_SERVICES)