From 94db96fa5e9d469fa6c19be3a7cf96c49b815db1 Mon Sep 17 00:00:00 2001 From: Jiuqiang Tang Date: Mon, 27 Mar 2023 22:19:44 -0700 Subject: [PATCH] Add MatrixDataProto.java to mediapipe aar. PiperOrigin-RevId: 519925872 --- mediapipe/java/com/google/mediapipe/mediapipe_aar.bzl | 5 +++++ .../java/com/google/mediapipe/tasks/mediapipe_tasks_aar.bzl | 1 + 2 files changed, 6 insertions(+) diff --git a/mediapipe/java/com/google/mediapipe/mediapipe_aar.bzl b/mediapipe/java/com/google/mediapipe/mediapipe_aar.bzl index 1b80744e8..03fc41757 100644 --- a/mediapipe/java/com/google/mediapipe/mediapipe_aar.bzl +++ b/mediapipe/java/com/google/mediapipe/mediapipe_aar.bzl @@ -353,6 +353,11 @@ def mediapipe_java_proto_srcs(name = ""): src_out = "com/google/mediapipe/formats/proto/LocationDataProto.java", )) + proto_src_list.append(mediapipe_java_proto_src_extractor( + target = "//mediapipe/framework/formats:matrix_data_java_proto_lite", + src_out = "com/google/mediapipe/formats/proto/MatrixDataProto.java", + )) + proto_src_list.append(mediapipe_java_proto_src_extractor( target = "//mediapipe/framework/formats:rect_java_proto_lite", src_out = "com/google/mediapipe/formats/proto/RectProto.java", diff --git a/mediapipe/tasks/java/com/google/mediapipe/tasks/mediapipe_tasks_aar.bzl b/mediapipe/tasks/java/com/google/mediapipe/tasks/mediapipe_tasks_aar.bzl index f9e8ed907..7b58638d2 100644 --- a/mediapipe/tasks/java/com/google/mediapipe/tasks/mediapipe_tasks_aar.bzl +++ b/mediapipe/tasks/java/com/google/mediapipe/tasks/mediapipe_tasks_aar.bzl @@ -308,6 +308,7 @@ def _mediapipe_tasks_aar(name, srcs, manifest, java_proto_lite_targets, native_l "//mediapipe/framework/formats:detection_java_proto_lite", "//mediapipe/framework/formats:landmark_java_proto_lite", "//mediapipe/framework/formats:location_data_java_proto_lite", + "//mediapipe/framework/formats:matrix_data_java_proto_lite", "//mediapipe/framework/formats:rect_java_proto_lite", "//mediapipe/tasks/java/com/google/mediapipe/tasks/components/containers:audiodata", "//mediapipe/tasks/java/com/google/mediapipe/tasks/components/containers:detection",