git-subtree-dir: third_party/flatbuffers git-subtree-split: 595bf0007ab1929570c7671f091313c8fc20644e
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"],
|
|
)
|