Removes TensorFlowLiteC framework version. Version is specified in the podspec.

PiperOrigin-RevId: 259850994
This commit is contained in:
A. Unique TensorFlower 2019-07-24 17:22:42 -07:00 committed by TensorFlower Gardener
parent a2adb0f8ce
commit eb76f680ef
2 changed files with 1 additions and 11 deletions

View File

@ -1,19 +1,13 @@
# TensorFlow Lite for iOS # 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:ios.bzl", "ios_static_framework")
load("@build_bazel_rules_apple//apple:versioning.bzl", "apple_bundle_version")
package( package(
default_visibility = ["//visibility:private"], default_visibility = ["//visibility:private"],
licenses = ["notice"], # Apache 2.0 licenses = ["notice"], # Apache 2.0
) )
apple_bundle_version(
name = "TensorFlowLiteC_version",
build_version = TFL_IOS_BUILD_VERSION,
)
ios_static_framework( ios_static_framework(
name = "TensorFlowLiteC_framework", name = "TensorFlowLiteC_framework",
hdrs = [ hdrs = [
@ -22,6 +16,5 @@ ios_static_framework(
], ],
bundle_name = "TensorFlowLiteC", bundle_name = "TensorFlowLiteC",
minimum_os_version = TFL_MINIMUM_OS_VERSION, minimum_os_version = TFL_MINIMUM_OS_VERSION,
version = ":TensorFlowLiteC_version",
deps = ["//tensorflow/lite/experimental/c:c_api"], deps = ["//tensorflow/lite/experimental/c:c_api"],
) )

View File

@ -1,8 +1,5 @@
"""TensorFlow Lite Build Configurations for iOS""" """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" TFL_MINIMUM_OS_VERSION = "9.0"
# Default tags for filtering iOS targets. Targets are restricted to Apple platforms. # Default tags for filtering iOS targets. Targets are restricted to Apple platforms.