Change visibility for MP Tasks Web to public

PiperOrigin-RevId: 493343996
This commit is contained in:
Sebastian Schmidt 2022-12-06 10:22:31 -08:00 committed by Copybara-Service
parent fb0b96115f
commit ab0b0ab558
13 changed files with 22 additions and 0 deletions

View File

@ -7,6 +7,7 @@ package(default_visibility = ["//mediapipe/tasks:internal"])
mediapipe_ts_library(
name = "audio_lib",
srcs = ["index.ts"],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/audio/audio_classifier",
"//mediapipe/tasks/web/audio/audio_embedder",

View File

@ -11,6 +11,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "audio_classifier",
srcs = ["audio_classifier.ts"],
visibility = ["//visibility:public"],
deps = [
":audio_classifier_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -35,6 +36,7 @@ mediapipe_ts_declaration(
"audio_classifier_options.d.ts",
"audio_classifier_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:classification_result",

View File

@ -11,6 +11,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "audio_embedder",
srcs = ["audio_embedder.ts"],
visibility = ["//visibility:public"],
deps = [
":audio_embedder_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -35,6 +36,7 @@ mediapipe_ts_declaration(
"audio_embedder_options.d.ts",
"audio_embedder_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:embedding_result",
"//mediapipe/tasks/web/core",

View File

@ -28,6 +28,7 @@ mediapipe_ts_library(
mediapipe_ts_library(
name = "fileset_resolver",
srcs = ["fileset_resolver.ts"],
visibility = ["//visibility:public"],
deps = [":core"],
)

View File

@ -7,6 +7,7 @@ package(default_visibility = ["//mediapipe/tasks:internal"])
mediapipe_ts_library(
name = "text_lib",
srcs = ["index.ts"],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/core:fileset_resolver",
"//mediapipe/tasks/web/text/text_classifier",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "text_classifier",
srcs = ["text_classifier.ts"],
visibility = ["//visibility:public"],
deps = [
":text_classifier_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -36,6 +37,7 @@ mediapipe_ts_declaration(
"text_classifier_options.d.ts",
"text_classifier_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:classification_result",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "text_embedder",
srcs = ["text_embedder.ts"],
visibility = ["//visibility:public"],
deps = [
":text_embedder_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -36,6 +37,7 @@ mediapipe_ts_declaration(
"text_embedder_options.d.ts",
"text_embedder_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:embedding_result",
"//mediapipe/tasks/web/core",

View File

@ -7,6 +7,7 @@ package(default_visibility = ["//mediapipe/tasks:internal"])
mediapipe_ts_library(
name = "vision_lib",
srcs = ["index.ts"],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/core:fileset_resolver",
"//mediapipe/tasks/web/vision/gesture_recognizer",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "gesture_recognizer",
srcs = ["gesture_recognizer.ts"],
visibility = ["//visibility:public"],
deps = [
":gesture_recognizer_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -42,6 +43,7 @@ mediapipe_ts_declaration(
"gesture_recognizer_options.d.ts",
"gesture_recognizer_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:landmark",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "hand_landmarker",
srcs = ["hand_landmarker.ts"],
visibility = ["//visibility:public"],
deps = [
":hand_landmarker_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -38,6 +39,7 @@ mediapipe_ts_declaration(
"hand_landmarker_options.d.ts",
"hand_landmarker_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:landmark",

View File

@ -11,6 +11,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "image_classifier",
srcs = ["image_classifier.ts"],
visibility = ["//visibility:public"],
deps = [
":image_classifier_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -35,6 +36,7 @@ mediapipe_ts_declaration(
"image_classifier_options.d.ts",
"image_classifier_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:classification_result",

View File

@ -11,6 +11,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "image_embedder",
srcs = ["image_embedder.ts"],
visibility = ["//visibility:public"],
deps = [
":image_embedder_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -36,6 +37,7 @@ mediapipe_ts_declaration(
"image_embedder_options.d.ts",
"image_embedder_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:embedding_result",
"//mediapipe/tasks/web/core",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library(
name = "object_detector",
srcs = ["object_detector.ts"],
visibility = ["//visibility:public"],
deps = [
":object_detector_types",
"//mediapipe/framework:calculator_jspb_proto",
@ -32,6 +33,7 @@ mediapipe_ts_declaration(
"object_detector_options.d.ts",
"object_detector_result.d.ts",
],
visibility = ["//visibility:public"],
deps = [
"//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/core",