Internal update.
PiperOrigin-RevId: 561995055
This commit is contained in:
parent
007824594b
commit
823493ee82
|
@ -44,6 +44,13 @@ android_library(
|
|||
],
|
||||
)
|
||||
|
||||
# Expose the java source files for building mediapipe tasks vision per task AAR.
|
||||
filegroup(
|
||||
name = "core_java_src",
|
||||
srcs = glob(["core/**/*.java"]),
|
||||
visibility = ["//mediapipe/tasks/java/com/google/mediapipe/tasks/vision:__subpackages__"],
|
||||
)
|
||||
|
||||
# The native library of all MediaPipe vision tasks.
|
||||
cc_binary(
|
||||
name = "libmediapipe_tasks_vision_jni.so",
|
||||
|
@ -294,6 +301,13 @@ android_library(
|
|||
],
|
||||
)
|
||||
|
||||
# Expose the java source files for building mediapipe tasks vision per task AAR.
|
||||
filegroup(
|
||||
name = "image_segmenter_java_src",
|
||||
srcs = glob(["imagesegmenter/**/*.java"]),
|
||||
visibility = ["//mediapipe/tasks/java/com/google/mediapipe/tasks/vision:__subpackages__"],
|
||||
)
|
||||
|
||||
android_library(
|
||||
name = "interactivesegmenter",
|
||||
srcs = [
|
||||
|
@ -409,6 +423,13 @@ android_library(
|
|||
],
|
||||
)
|
||||
|
||||
# Expose the java source files for building mediapipe tasks vision per task AAR.
|
||||
filegroup(
|
||||
name = "face_landmarker_java_src",
|
||||
srcs = glob(["facelandmarker/**/*.java"]),
|
||||
visibility = ["//mediapipe/tasks/java/com/google/mediapipe/tasks/vision:__subpackages__"],
|
||||
)
|
||||
|
||||
load("//mediapipe/tasks/java/com/google/mediapipe/tasks:mediapipe_tasks_aar.bzl", "mediapipe_tasks_vision_aar")
|
||||
|
||||
mediapipe_tasks_vision_aar(
|
||||
|
|
|
@ -44,8 +44,11 @@ cc_binary(
|
|||
)
|
||||
|
||||
cc_library(
|
||||
name = "libmediapipe_tasks_vision_image_generator_jni_lib",
|
||||
srcs = [":libmediapipe_tasks_vision_image_generator_jni.so"],
|
||||
name = "mediapipe_tasks_vision_image_generator_jni_lib",
|
||||
srcs = [
|
||||
":libimagegenerator_gpu.so",
|
||||
":libmediapipe_tasks_vision_image_generator_jni.so",
|
||||
],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
|
@ -86,6 +89,10 @@ load("//mediapipe/tasks/java/com/google/mediapipe/tasks:mediapipe_tasks_aar.bzl"
|
|||
|
||||
mediapipe_tasks_vision_image_generator_aar(
|
||||
name = "tasks_vision_image_generator",
|
||||
srcs = glob(["**/*.java"]),
|
||||
srcs = glob(["**/*.java"]) + [
|
||||
"//mediapipe/tasks/java/com/google/mediapipe/tasks/vision:core_java_src",
|
||||
"//mediapipe/tasks/java/com/google/mediapipe/tasks/vision:face_landmarker_java_src",
|
||||
"//mediapipe/tasks/java/com/google/mediapipe/tasks/vision:image_segmenter_java_src",
|
||||
],
|
||||
native_library = ":libmediapipe_tasks_vision_image_generator_jni_lib",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user