Skip to content

Commit

Permalink
Merge pull request tensorflow#854 from khanhlvg:ios-cocoapods
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 460980283
  • Loading branch information
tflite-support-robot committed Jul 14, 2022
2 parents f260fa9 + fe7cdcd commit 1aba1a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tensorflow_lite_support/ios/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ load(
)
load(
"//tensorflow_lite_support/ios:ios.bzl",
"TFL_TASK_MINIMUM_OS_VERSION",
"strip_api_include_path_prefix",
)
load(
Expand Down Expand Up @@ -156,7 +157,7 @@ ios_static_framework(
":TFLSegmentationResult.h",
],
bundle_name = "TensorFlowLiteTaskVision",
minimum_os_version = "10.0",
minimum_os_version = TFL_TASK_MINIMUM_OS_VERSION,
deps = [
"//tensorflow_lite_support/ios/task/vision:TFLImageClassifier",
"//tensorflow_lite_support/ios/task/vision:TFLImageSegmenter",
Expand Down
3 changes: 3 additions & 0 deletions tensorflow_lite_support/ios/ios.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# other C/iOS API header files.
# In case of C header files includes start with a keyword of "#include'.
# Imports in iOS header files start with a keyword of '#import'.

TFL_TASK_MINIMUM_OS_VERSION = "10.0"

def strip_api_include_path_prefix(name, hdr_labels, prefix = ""):
"""Create modified header files with the import path stripped out.
Expand Down

0 comments on commit 1aba1a3

Please sign in to comment.