flatcc 24.3.25

Build-time convenience utilities for flatbuffers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"],
)