Commit 0b5752df authored by Zhengxu Chen's avatar Zhengxu Chen Committed by Facebook Github Bot

Make thrift metadata available across fbcode oss builds.

Summary: There are downstream oss builds showing build failure caused by introduction of metadata. We want to make them proceed to build so we won't get errors in CI.

Reviewed By: iahs

Differential Revision: D19900007

fbshipit-source-id: 4201448f7980b53e407fd2bc1c74ed4ffa8e18c1
parent 6aa06e7f
...@@ -62,12 +62,14 @@ function(add_fbthrift_cpp_library LIB_NAME THRIFT_FILE) ...@@ -62,12 +62,14 @@ function(add_fbthrift_cpp_library LIB_NAME THRIFT_FILE)
"${output_dir}/gen-cpp2/${base}_types.h" "${output_dir}/gen-cpp2/${base}_types.h"
"${output_dir}/gen-cpp2/${base}_types.tcc" "${output_dir}/gen-cpp2/${base}_types.tcc"
"${output_dir}/gen-cpp2/${base}_types_custom_protocol.h" "${output_dir}/gen-cpp2/${base}_types_custom_protocol.h"
"${output_dir}/gen-cpp2/${base}_metadata.h"
) )
list(APPEND generated_sources list(APPEND generated_sources
"${output_dir}/gen-cpp2/${base}_constants.cpp" "${output_dir}/gen-cpp2/${base}_constants.cpp"
"${output_dir}/gen-cpp2/${base}_data.h" "${output_dir}/gen-cpp2/${base}_data.h"
"${output_dir}/gen-cpp2/${base}_data.cpp" "${output_dir}/gen-cpp2/${base}_data.cpp"
"${output_dir}/gen-cpp2/${base}_types.cpp" "${output_dir}/gen-cpp2/${base}_types.cpp"
"${output_dir}/gen-cpp2/${base}_metadata.cpp"
) )
foreach(service IN LISTS ARG_SERVICES) foreach(service IN LISTS ARG_SERVICES)
list(APPEND generated_headers list(APPEND generated_headers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment