Added iOS language detector to Cocoapods build

This commit is contained in:
Prianka Liz Kariat 2023-12-22 21:39:00 +05:30
parent 9f272488ff
commit a0c482f720

View File

@ -82,6 +82,9 @@ strip_api_include_path_prefix(
"//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedder.h", "//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedder.h",
"//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderOptions.h", "//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderOptions.h",
"//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderResult.h", "//mediapipe/tasks/ios/text/text_embedder:sources/MPPTextEmbedderResult.h",
"//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetector.h",
"//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetectorOptions.h",
"//mediapipe/tasks/ios/text/language_detector:sources/MPPLanguageDetectorResult.h",
"//mediapipe/tasks/ios/vision/core:sources/MPPRunningMode.h", "//mediapipe/tasks/ios/vision/core:sources/MPPRunningMode.h",
"//mediapipe/tasks/ios/vision/core:sources/MPPImage.h", "//mediapipe/tasks/ios/vision/core:sources/MPPImage.h",
"//mediapipe/tasks/ios/vision/core:sources/MPPMask.h", "//mediapipe/tasks/ios/vision/core:sources/MPPMask.h",
@ -143,10 +146,14 @@ apple_static_xcframework(
":MPPTextEmbedder.h", ":MPPTextEmbedder.h",
":MPPTextEmbedderOptions.h", ":MPPTextEmbedderOptions.h",
":MPPTextEmbedderResult.h", ":MPPTextEmbedderResult.h",
":MPPLanguageDetector.h",
":MPPLanguageDetectorOptions.h",
":MPPLanguageDetectorResult.h",
], ],
deps = [ deps = [
"//mediapipe/tasks/ios/text/text_classifier:MPPTextClassifier", "//mediapipe/tasks/ios/text/text_classifier:MPPTextClassifier",
"//mediapipe/tasks/ios/text/text_embedder:MPPTextEmbedder", "//mediapipe/tasks/ios/text/text_embedder:MPPTextEmbedder",
"//mediapipe/tasks/ios/text/language_detector:MPPLanguageDetector",
], ],
) )