No public description
PiperOrigin-RevId: 560743684
This commit is contained in:
parent
1aa5e0d46f
commit
442940cd55
|
@ -138,7 +138,7 @@ Create a `BUILD` file in the `$APPLICATION_PATH` and add the following build
|
||||||
rules:
|
rules:
|
||||||
|
|
||||||
```
|
```
|
||||||
MIN_IOS_VERSION = "11.0"
|
MIN_IOS_VERSION = "12.0"
|
||||||
|
|
||||||
load(
|
load(
|
||||||
"@build_bazel_rules_apple//apple:ios.bzl",
|
"@build_bazel_rules_apple//apple:ios.bzl",
|
||||||
|
|
|
@ -8,7 +8,7 @@ Pod::Spec.new do |s|
|
||||||
s.summary = 'MediaPipe Task Library - Text'
|
s.summary = 'MediaPipe Task Library - Text'
|
||||||
s.description = 'The common libraries of the MediaPipe Task Library'
|
s.description = 'The common libraries of the MediaPipe Task Library'
|
||||||
|
|
||||||
s.ios.deployment_target = '11.0'
|
s.ios.deployment_target = '12.0'
|
||||||
|
|
||||||
s.module_name = 'MediaPipeTasksCommon'
|
s.module_name = 'MediaPipeTasksCommon'
|
||||||
s.static_framework = true
|
s.static_framework = true
|
||||||
|
|
|
@ -8,7 +8,7 @@ Pod::Spec.new do |s|
|
||||||
s.summary = 'MediaPipe Task Library - Text'
|
s.summary = 'MediaPipe Task Library - Text'
|
||||||
s.description = 'The Natural Language APIs of the MediaPipe Task Library'
|
s.description = 'The Natural Language APIs of the MediaPipe Task Library'
|
||||||
|
|
||||||
s.ios.deployment_target = '11.0'
|
s.ios.deployment_target = '12.0'
|
||||||
|
|
||||||
s.module_name = 'MediaPipeTasksText'
|
s.module_name = 'MediaPipeTasksText'
|
||||||
s.static_framework = true
|
s.static_framework = true
|
||||||
|
|
|
@ -8,7 +8,7 @@ Pod::Spec.new do |s|
|
||||||
s.summary = 'MediaPipe Task Library - Vision'
|
s.summary = 'MediaPipe Task Library - Vision'
|
||||||
s.description = 'The Vision APIs of the MediaPipe Task Library'
|
s.description = 'The Vision APIs of the MediaPipe Task Library'
|
||||||
|
|
||||||
s.ios.deployment_target = '11.0'
|
s.ios.deployment_target = '12.0'
|
||||||
|
|
||||||
s.module_name = 'MediaPipeTasksVision'
|
s.module_name = 'MediaPipeTasksVision'
|
||||||
s.static_framework = true
|
s.static_framework = true
|
||||||
|
|
|
@ -112,7 +112,7 @@ function build_ios_frameworks_and_libraries {
|
||||||
IOS_GRAPHS_SIMULATOR_LIBRARY_PATH="$(get_output_file_path "${IOS_SIM_FAT_LIBRARY_CQUERY_COMMAND}")"
|
IOS_GRAPHS_SIMULATOR_LIBRARY_PATH="$(get_output_file_path "${IOS_SIM_FAT_LIBRARY_CQUERY_COMMAND}")"
|
||||||
|
|
||||||
# Build static library for iOS devices with arch ios_arm64. We don't need to build for armv7 since
|
# Build static library for iOS devices with arch ios_arm64. We don't need to build for armv7 since
|
||||||
# our deployment target is iOS 11.0. iOS 11.0 and upwards is not supported by old armv7 devices.
|
# our deployment target is iOS 12.0. iOS 12.0 and upwards is not supported by old armv7 devices.
|
||||||
local IOS_DEVICE_LIBRARY_CQUERY_COMMAND="-c opt --config=ios_arm64 --apple_generate_dsym=false --define OPENCV=source //mediapipe/tasks/ios:MediaPipeTaskGraphs_library"
|
local IOS_DEVICE_LIBRARY_CQUERY_COMMAND="-c opt --config=ios_arm64 --apple_generate_dsym=false --define OPENCV=source //mediapipe/tasks/ios:MediaPipeTaskGraphs_library"
|
||||||
${BAZEL} build ${IOS_DEVICE_LIBRARY_CQUERY_COMMAND}
|
${BAZEL} build ${IOS_DEVICE_LIBRARY_CQUERY_COMMAND}
|
||||||
IOS_GRAPHS_DEVICE_LIBRARY_PATH="$(get_output_file_path "${IOS_DEVICE_LIBRARY_CQUERY_COMMAND}")"
|
IOS_GRAPHS_DEVICE_LIBRARY_PATH="$(get_output_file_path "${IOS_DEVICE_LIBRARY_CQUERY_COMMAND}")"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user