Fixed indendation issues
This commit is contained in:
parent
9c98435027
commit
1e776e8e01
|
@ -153,7 +153,6 @@ apple_static_library(
|
|||
name = "MediaPipeTaskGraphs_library",
|
||||
minimum_os_version = MPP_TASK_MINIMUM_OS_VERSION,
|
||||
platform_type = "ios",
|
||||
minimum_os_version = MPP_TASK_MINIMUM_OS_VERSION,
|
||||
deps = [
|
||||
"//mediapipe/tasks/cc/vision/image_classifier:image_classifier_graph",
|
||||
"//mediapipe/tasks/cc/vision/object_detector:object_detector_graph",
|
||||
|
|
|
@ -47,7 +47,7 @@ if [ -z ${FRAMEWORK_NAME+x} ]; then
|
|||
fi
|
||||
|
||||
case $FRAMEWORK_NAME in
|
||||
"MediaPipeTasksText")
|
||||
"MediaPipeTasksCommon")
|
||||
;;
|
||||
"MediaPipeTasksVision")
|
||||
;;
|
||||
|
@ -149,11 +149,7 @@ function create_framework_archive {
|
|||
# libraries should be copied to the output directory which is to be archived.
|
||||
case $FRAMEWORK_NAME in
|
||||
"MediaPipeTasksCommon")
|
||||
|
||||
local GRAPH_LIBRARIES_DIR="graph_libraries"
|
||||
|
||||
local GRAPH_LIBRARIES_DIR="graph_libraries"
|
||||
|
||||
# Create the parent folder which will hold the graph libraries of all architectures.
|
||||
mkdir -p "${FRAMEWORKS_DIR}/${GRAPH_LIBRARIES_DIR}"
|
||||
|
||||
|
@ -163,12 +159,15 @@ function create_framework_archive {
|
|||
echo ${IOS_GRAPHS_SIMULATOR_LIBRARY_PATH}
|
||||
cp "${IOS_GRAPHS_SIMULATOR_LIBRARY_PATH}" "${SIMULATOR_GRAPH_LIBRARY_PATH}"
|
||||
|
||||
|
||||
local IOS_DEVICE_GRAPH_LIBRARY_PATH="${FRAMEWORKS_DIR}/${GRAPH_LIBRARIES_DIR}/lib${FRAMEWORK_NAME}_device_graph.a"
|
||||
|
||||
# Copy ios device library into a separate directory.
|
||||
echo ${IOS_GRAPHS_DEVICE_LIBRARY_PATH}
|
||||
cp "${IOS_GRAPHS_DEVICE_LIBRARY_PATH}" "${IOS_DEVICE_GRAPH_LIBRARY_PATH}"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
#----- (3) Move the framework to the destination -----
|
||||
if [[ "${ARCHIVE_FRAMEWORK}" == true ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user