mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
* Restrict visibility of exported file * Align npm_translate_lock attrs * Remove defs_bzl_filename attr * Align root_package with pnpm-lock.yaml location Use a symlink to avoid copying the file.
21 lines
438 B
Python
21 lines
438 B
Python
filegroup(
|
|
name = "distribution",
|
|
srcs = [
|
|
"BUILD.bazel",
|
|
"reflection.fbs",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
# flatbuffer_ts_library() only supports .fbs file but not filegroups
|
|
exports_files(
|
|
srcs = ["reflection.fbs"],
|
|
visibility = ["//reflection/ts:__pkg__"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "reflection_fbs_schema",
|
|
srcs = ["reflection.fbs"],
|
|
visibility = ["//visibility:public"],
|
|
)
|