cpp_unittest( name = 'ProcessorTest', srcs = [ 'EventLog.cpp', 'ProcessorTest.cpp', 'ServerThread.cpp', ], deps = [ ':thrift', '@/thrift/lib/cpp/server:nonblocking', ], external_deps = [ # Versions of boost lower than 1.37 don't support BOOST_AUTO_TEST_CASE. ('boost', '>= 1.37', 'boost_unit_test_framework'), ], type = 'boost', emails = ['thrift-team@lists.facebook.com'], ) cpp_library( name = 'thrift', thrift_srcs = { 'proc.thrift' : ['ParentService', 'ChildService']}, thrift_cpp_options = 'templates', )