Removes TensorFlowLiteC framework version. Version is specified in the podspec.
PiperOrigin-RevId: 259850994
This commit is contained in:
parent
a2adb0f8ce
commit
eb76f680ef
@ -1,19 +1,13 @@
|
||||
# TensorFlow Lite for iOS
|
||||
|
||||
load("//tensorflow/lite/experimental/ios:ios.bzl", "TFL_IOS_BUILD_VERSION", "TFL_MINIMUM_OS_VERSION")
|
||||
load("//tensorflow/lite/experimental/ios:ios.bzl", "TFL_MINIMUM_OS_VERSION")
|
||||
load("@build_bazel_rules_apple//apple:ios.bzl", "ios_static_framework")
|
||||
load("@build_bazel_rules_apple//apple:versioning.bzl", "apple_bundle_version")
|
||||
|
||||
package(
|
||||
default_visibility = ["//visibility:private"],
|
||||
licenses = ["notice"], # Apache 2.0
|
||||
)
|
||||
|
||||
apple_bundle_version(
|
||||
name = "TensorFlowLiteC_version",
|
||||
build_version = TFL_IOS_BUILD_VERSION,
|
||||
)
|
||||
|
||||
ios_static_framework(
|
||||
name = "TensorFlowLiteC_framework",
|
||||
hdrs = [
|
||||
@ -22,6 +16,5 @@ ios_static_framework(
|
||||
],
|
||||
bundle_name = "TensorFlowLiteC",
|
||||
minimum_os_version = TFL_MINIMUM_OS_VERSION,
|
||||
version = ":TensorFlowLiteC_version",
|
||||
deps = ["//tensorflow/lite/experimental/c:c_api"],
|
||||
)
|
||||
|
@ -1,8 +1,5 @@
|
||||
"""TensorFlow Lite Build Configurations for iOS"""
|
||||
|
||||
# Current version of the TensorFlow Lite iOS libraries.
|
||||
TFL_IOS_BUILD_VERSION = "0.2.0"
|
||||
|
||||
TFL_MINIMUM_OS_VERSION = "9.0"
|
||||
|
||||
# Default tags for filtering iOS targets. Targets are restricted to Apple platforms.
|
||||
|
Loading…
Reference in New Issue
Block a user