Fix Buck OSS build after flatbuffers update in #100716 (#101626)

Broken in trunk after #100716, for example https://github.com/pytorch/pytorch/actions/runs/4996560867/jobs/8949908952

Pull Request resolved: https://github.com/pytorch/pytorch/pull/101626
Approved by: https://github.com/PaliC
This commit is contained in:
Huy Do
2023-05-17 04:19:17 +00:00
committed by PyTorch MergeBot
parent 41d668c9dc
commit d1a472a366

View File

@ -302,8 +302,12 @@ cxx_binary(
"flatbuffers/grpc/src/compiler/python_generator.cc",
"flatbuffers/grpc/src/compiler/swift_generator.cc",
"flatbuffers/grpc/src/compiler/ts_generator.cc",
"flatbuffers/src/annotated_binary_text_gen.cpp",
"flatbuffers/src/binary_annotator.cpp",
"flatbuffers/src/bfbs_gen_lua.cpp",
"flatbuffers/src/bfbs_gen_nim.cpp",
"flatbuffers/src/flatc_main.cpp",
"flatbuffers/src/idl_gen_binary.cpp",
"flatbuffers/src/idl_gen_cpp.cpp",
"flatbuffers/src/idl_gen_csharp.cpp",
"flatbuffers/src/idl_gen_dart.cpp",
@ -327,12 +331,10 @@ cxx_binary(
"flatbuffers/include",
],
raw_headers = [
"flatbuffers/grpc/src/compiler/config.h",
"flatbuffers/grpc/src/compiler/cpp_generator.h",
"flatbuffers/grpc/src/compiler/go_generator.h",
"flatbuffers/grpc/src/compiler/java_generator.h",
"flatbuffers/grpc/src/compiler/python_generator.h",
# "flatbuffers/grpc/src/compiler/python_private_generator.h",
"flatbuffers/grpc/src/compiler/schema_interface.h",
"flatbuffers/grpc/src/compiler/swift_generator.h",
"flatbuffers/grpc/src/compiler/ts_generator.h",