Skip to content

Commit 749e4d1

Browse files
Mizuchimeta-codesync[bot]
authored andcommitted
Fix build failure by adding the services header for metadata.h
Reviewed By: iahs Differential Revision: D89815268 fbshipit-source-id: ecf3970265ba5d90cce963f01698c1489da2e075
1 parent 60afa9e commit 749e4d1

File tree

171 files changed

+342
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+342
-0
lines changed

thrift/compiler/generate/templates/py3/metadata.cpp.mustache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
#include "{{program:include_prefix}}gen-py3/{{program:name}}/metadata.h"
2222

23+
#include "{{program:include_prefix}}{{program:cpp_gen_path}}/{{program:name}}_handlers.h"
24+
2325
{{#program:cppNamespaces}}namespace {{value}} {
2426
{{/program:cppNamespaces}}
2527
::apache::thrift::metadata::ThriftMetadata {{program:name}}_getThriftModuleMetadata() {

thrift/compiler/test/fixtures/adapter/out/py3/gen-py3/cpp/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/adapter/gen-py3/cpp/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/adapter/gen-cpp2/cpp_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace annotation {

thrift/compiler/test/fixtures/adapter/out/py3/gen-py3/hack/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/adapter/gen-py3/hack/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/adapter/gen-cpp2/hack_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace annotation {

thrift/compiler/test/fixtures/adapter/out/py3/gen-py3/java/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/adapter/gen-py3/java/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/adapter/gen-cpp2/java_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace annotation {

thrift/compiler/test/fixtures/adapter/out/py3/gen-py3/module/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/adapter/gen-py3/module/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/adapter/gen-cpp2/module_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace test {

thrift/compiler/test/fixtures/adapter/out/py3/gen-py3/python/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/adapter/gen-py3/python/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/adapter/gen-cpp2/python_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace annotation {

thrift/compiler/test/fixtures/adapter/out/py3/gen-py3/rust/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/adapter/gen-py3/rust/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/adapter/gen-cpp2/rust_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace annotation {

thrift/compiler/test/fixtures/adapter/out/py3/gen-py3/scope/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/adapter/gen-py3/scope/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/adapter/gen-cpp2/scope_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace annotation {

thrift/compiler/test/fixtures/adapter/out/py3/gen-py3/thrift/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/adapter/gen-py3/thrift/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/adapter/gen-cpp2/thrift_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace annotation {

thrift/compiler/test/fixtures/aliasing/out/py3/gen-py3/module/metadata.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "thrift/compiler/test/fixtures/aliasing/gen-py3/module/metadata.h"
99

10+
#include "thrift/compiler/test/fixtures/aliasing/gen-cpp2/module_handlers.h"
11+
1012
namespace facebook {
1113
namespace thrift {
1214
namespace compiler {

0 commit comments

Comments
 (0)