Updated build targets of vision packet creator and task runner

This commit is contained in:
Prianka Liz Kariat 2023-03-02 19:43:46 +05:30
parent c625d6afdc
commit c871fc58ec

View File

@ -26,6 +26,24 @@ objc_library(
module_name = "MPPRunningMode",
)
objc_library(
name = "MPPVisionPacketCreator",
srcs = ["sources/MPPVisionPacketCreator.mm"],
hdrs = ["sources/MPPVisionPacketCreator.h"],
sdk_frameworks = ["UIKit"],
copts = [
"-ObjC++",
"-std=c++17",
],
deps = [
"//mediapipe/framework:packet",
"//mediapipe/framework:timestamp",
"//mediapipe/tasks/ios/vision/core:MPPImage",
"//mediapipe/tasks/ios/vision/core/utils:MPPImageUtils",
"//mediapipe/framework/formats:rect_cc_proto",
],
)
objc_library(
name = "MPPVisionTaskRunner",
srcs = ["sources/MPPVisionTaskRunner.mm"],
@ -39,5 +57,6 @@ objc_library(
"//mediapipe/tasks/ios/common:MPPCommon",
"//mediapipe/tasks/ios/common/utils:MPPCommonUtils",
"//mediapipe/tasks/ios/core:MPPTaskRunner",
"//mediapipe/tasks/ios/vision/core:MPPVisionPacketCreator",
],
)