Updated deps names in iOS test targets

This commit is contained in:
Prianka Liz Kariat 2023-05-06 06:13:51 +05:30
parent 9f0dd03851
commit f713be7b6d
2 changed files with 6 additions and 6 deletions

View File

@ -42,9 +42,9 @@ objc_library(
"//mediapipe/tasks/ios/test/vision/utils:MPPImageTestUtils", "//mediapipe/tasks/ios/test/vision/utils:MPPImageTestUtils",
"//mediapipe/tasks/ios/vision/image_classifier:MPPImageClassifier", "//mediapipe/tasks/ios/vision/image_classifier:MPPImageClassifier",
] + select({ ] + select({
":opencv_ios_sim_arm64_source_build" : ["@ios_opencv_source//:opencv_xcframework"], "//third_party:opencv_ios_sim_arm64_source_build" : ["@ios_opencv_source//:opencv_xcframework"],
":opencv_ios_arm64_source_build" : ["@ios_opencv_source//:opencv_xcframework"], "//third_party:opencv_ios_arm64_source_build" : ["@ios_opencv_source//:opencv_xcframework"],
":opencv_ios_x86_64_source_build" : ["@ios_opencv_source//:opencv_xcframework"], "//third_party:opencv_ios_x86_64_source_build" : ["@ios_opencv_source//:opencv_xcframework"],
"//conditions:default": ["@ios_opencv//:OpencvFramework"], "//conditions:default": ["@ios_opencv//:OpencvFramework"],
}), }),
) )

View File

@ -42,9 +42,9 @@ objc_library(
"//mediapipe/tasks/ios/test/vision/utils:MPPImageTestUtils", "//mediapipe/tasks/ios/test/vision/utils:MPPImageTestUtils",
"//mediapipe/tasks/ios/vision/object_detector:MPPObjectDetector", "//mediapipe/tasks/ios/vision/object_detector:MPPObjectDetector",
] + select({ ] + select({
":opencv_ios_sim_arm64_source_build" : ["@ios_opencv_source//:opencv_xcframework"], "//third_party:opencv_ios_sim_arm64_source_build" : ["@ios_opencv_source//:opencv_xcframework"],
":opencv_ios_arm64_source_build" : ["@ios_opencv_source//:opencv_xcframework"], "//third_party:opencv_ios_arm64_source_build" : ["@ios_opencv_source//:opencv_xcframework"],
":opencv_ios_x86_64_source_build" : ["@ios_opencv_source//:opencv_xcframework"], "//third_party:opencv_ios_x86_64_source_build" : ["@ios_opencv_source//:opencv_xcframework"],
"//conditions:default": ["@ios_opencv//:OpencvFramework"], "//conditions:default": ["@ios_opencv//:OpencvFramework"],
}), }),
) )