mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
We need to copy the .fbs files into the package used for .bfbs files. This is necessary as flatc doesn't provide support to specify the full output file name for an .fbs file in a different folder. I tried OUTPUT_FILE env var but this doesn't seem to be honored by flatc.
9 lines
223 B
Python
9 lines
223 B
Python
load("//:typescript.bzl", "flatbuffer_ts_library")
|
|
|
|
flatbuffer_ts_library(
|
|
name = "reflection_ts_fbs",
|
|
srcs = ["//reflection:reflection.fbs"],
|
|
gen_reflections = True,
|
|
visibility = ["//visibility:public"],
|
|
)
|