osrm-backend/tests/ts/test_dir/BUILD.bazel
Siarhei Fedartsou 0f6aab9da6 Squashed 'third_party/flatbuffers/' content from commit 595bf0007
git-subtree-dir: third_party/flatbuffers
git-subtree-split: 595bf0007ab1929570c7671f091313c8fc20644e
2024-06-22 13:33:34 +02:00

27 lines
655 B
Python

load("@aspect_rules_js//js:defs.bzl", "js_test")
load("//:typescript.bzl", "flatbuffer_ts_library")
flatbuffer_ts_library(
name = "typescript_transitive_ts_fbs",
srcs = ["typescript_transitive_include.fbs"],
visibility = ["//visibility:public"],
)
flatbuffer_ts_library(
name = "include_ts_fbs",
srcs = ["typescript_include.fbs"],
visibility = ["//visibility:public"],
deps = [":typescript_transitive_ts_fbs"],
)
js_test(
name = "import_test",
chdir = package_name(),
data = [
"package.json",
":include_ts_fbs",
"//:node_modules/flatbuffers",
],
entry_point = "import_test.js",
)