mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 04:12:18 +00:00
This reverts commit 090caa2809.
This commit is contained in:
@@ -1,5 +1,14 @@
|
|||||||
|
load("//:typescript.bzl", "flatbuffer_ts_library")
|
||||||
|
|
||||||
filegroup(
|
filegroup(
|
||||||
name = "reflection_fbs_schema",
|
name = "reflection_fbs_schema",
|
||||||
srcs = ["reflection.fbs"],
|
srcs = ["reflection.fbs"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
flatbuffer_ts_library(
|
||||||
|
name = "reflection_ts_fbs",
|
||||||
|
srcs = ["reflection.fbs"],
|
||||||
|
include_reflection = False,
|
||||||
|
visibility = ["//visibility:public"],
|
||||||
|
)
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
load("//:typescript.bzl", "flatbuffer_ts_library")
|
|
||||||
|
|
||||||
flatbuffer_ts_library(
|
|
||||||
name = "reflection_ts_fbs",
|
|
||||||
srcs = ["//reflection:reflection_fbs_schema"],
|
|
||||||
include_reflection = False,
|
|
||||||
visibility = ["//visibility:public"],
|
|
||||||
)
|
|
||||||
@@ -86,7 +86,7 @@ def flatbuffer_ts_library(
|
|||||||
"types": ["node"],
|
"types": ["node"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
deps = deps + ["//ts:flatbuffers"] + (["//reflection/ts:reflection_ts_fbs"] if include_reflection else []),
|
deps = deps + ["//ts:flatbuffers"] + (["//reflection:reflection_ts_fbs"] if include_reflection else []),
|
||||||
)
|
)
|
||||||
js_library(
|
js_library(
|
||||||
name = name,
|
name = name,
|
||||||
|
|||||||
Reference in New Issue
Block a user