Skip to content

Commit c5b5959

Browse files
Mizuchifacebook-github-bot
authored andcommitted
Migrate OSS project to handle protocol split
Summary: 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. Reviewed By: vitaut Differential Revision: D74768480 fbshipit-source-id: dbc3921aa05aa0be6b025032553dffe85241b87a
1 parent 19f93f0 commit c5b5959

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/thrift-tests.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ test-suite integration
195195
include-dirs: .
196196
cxx-sources: cpp/hs_test.cpp
197197
if/gen-cpp2/hs_test_types.cpp
198+
if/gen-cpp2/hs_test_types_compact.cpp
199+
if/gen-cpp2/hs_test_types_binary.cpp
198200
if/gen-cpp2/hs_test_data.cpp
199201
ghc-options: -main-is IntegrationTest
200202
test-suite interaction
@@ -238,6 +240,8 @@ test-suite message
238240
include-dirs: .
239241
cxx-sources: cpp/messages.cpp
240242
if/gen-cpp2/hs_test_types.cpp
243+
if/gen-cpp2/hs_test_types_compact.cpp
244+
if/gen-cpp2/hs_test_types_binary.cpp
241245
if/gen-cpp2/hs_test_data.cpp
242246
ghc-options: -main-is MessageTest
243247
test-suite messed-up-case

0 commit comments

Comments
 (0)