mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
If you used flatbuffers_ts_library with gen_reflections = True then it attempted to use the flat-file compiler rather than flatc itself. Co-authored-by: Derek Bailey <derekbailey@google.com>
16 lines
363 B
Python
16 lines
363 B
Python
load("//:typescript.bzl", "flatbuffer_ts_library")
|
|
|
|
genrule(
|
|
name = "copy_schema_to_folder",
|
|
srcs = ["//reflection:reflection_fbs_schema"],
|
|
outs = ["reflection.fbs"],
|
|
cmd = "cp $< $@",
|
|
)
|
|
|
|
flatbuffer_ts_library(
|
|
name = "reflection_ts_fbs",
|
|
srcs = [":reflection.fbs"],
|
|
gen_reflections = True,
|
|
visibility = ["//visibility:public"],
|
|
)
|