mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
Right now, reflection_ts_fbs target is in reflection/BUILD.bazel. This is not ideal because reflection:reflection_fbs_schema is referenced from :flatc in the root. Thus, for any Bazel projects that want to include flatbuffers, they need to include npm / yarn_install and nodejs support all because reflection/BUILD.bazel loads typescript.bzl and that requires all TypeScript things. This PR separated that target into a different subdirectory, freeing root BUILD.bazel from that dependency.
9 lines
234 B
Python
9 lines
234 B
Python
load("//:typescript.bzl", "flatbuffer_ts_library")
|
|
|
|
flatbuffer_ts_library(
|
|
name = "reflection_ts_fbs",
|
|
srcs = ["//reflection:reflection_fbs_schema"],
|
|
include_reflection = False,
|
|
visibility = ["//visibility:public"],
|
|
)
|