Update iOS unit test min version to have IOS_MINIMUM_OS

PiperOrigin-RevId: 527675057
This commit is contained in:
Eiden Kim
2023-04-27 13:56:15 -07:00
committed by Copybara-Service
parent 4b27e8c446
commit b0985c70b4
5 changed files with 21 additions and 14 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
# Copyright 2020 Google LLC
# Copyright 2020-2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
load("//tools/build_defs/apple:ios.bzl", "ios_unit_test")
load("//tools/build_defs/swift:swift_library.bzl", "swift_library")
load("//googlemac/iPhone/OTPAuth:minimum_os.bzl", "IOS_MINIMUM_OS")
licenses(["notice"])
@@ -71,7 +72,7 @@ swift_library(
ios_unit_test(
name = "BuildTests",
minimum_os_version = "13.0",
minimum_os_version = IOS_MINIMUM_OS,
runner = "//testing/utp/ios:IOS_13",
deps = [
":BuildTestsLib",
+3 -2
View File
@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2022-2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,6 +14,7 @@
load("//tools/build_defs/apple:ios.bzl", "ios_unit_test")
load("//tools/build_defs/swift:swift_library.bzl", "swift_library")
load("//googlemac/iPhone/OTPAuth:minimum_os.bzl", "IOS_MINIMUM_OS")
licenses(["notice"])
@@ -41,7 +42,7 @@ swift_library(
ios_unit_test(
name = "Tests",
minimum_os_version = "13.0",
minimum_os_version = IOS_MINIMUM_OS,
runner = "//testing/utp/ios:IOS_13",
deps = [
":TestsLib",
+3 -2
View File
@@ -1,4 +1,4 @@
# Copyright 2022 Google LLC
# Copyright 2022-2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,6 +14,7 @@
load("//tools/build_defs/apple:ios.bzl", "ios_unit_test")
load("//tools/build_defs/swift:swift_library.bzl", "swift_library")
load("//googlemac/iPhone/OTPAuth:minimum_os.bzl", "IOS_MINIMUM_OS")
licenses(["notice"])
@@ -52,7 +53,7 @@ swift_library(
ios_unit_test(
name = "Tests",
minimum_os_version = "13.0",
minimum_os_version = IOS_MINIMUM_OS,
runner = "//testing/utp/ios:IOS_13",
deps = [
":TestsLib",
@@ -1,6 +1,4 @@
load("//tools/build_defs/swift:swift_explicit_module_build_test.bzl", "swift_explicit_module_build_test")
# Copyright 2020 Google LLC
# Copyright 2020-2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,6 +11,10 @@ load("//tools/build_defs/swift:swift_explicit_module_build_test.bzl", "swift_exp
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("//tools/build_defs/swift:swift_explicit_module_build_test.bzl", "swift_explicit_module_build_test")
load("//googlemac/iPhone/OTPAuth:minimum_os.bzl", "IOS_MINIMUM_OS")
licenses(["notice"])
package(
@@ -86,6 +88,6 @@ objc_library(
swift_explicit_module_build_test(
name = "swift_explicit_module_build_test",
ignore_headerless_targets = True,
minimum_os_version = "13.0",
minimum_os_version = IOS_MINIMUM_OS,
platform_type = "ios",
)
@@ -1,6 +1,4 @@
load("//tools/build_defs/apple:ios.bzl", "ios_unit_test")
# Copyright 2020 Google LLC
# Copyright 2020-2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,6 +11,10 @@ load("//tools/build_defs/apple:ios.bzl", "ios_unit_test")
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("//tools/build_defs/apple:ios.bzl", "ios_unit_test")
load("//googlemac/iPhone/OTPAuth:minimum_os.bzl", "IOS_MINIMUM_OS")
licenses(["notice"])
package(default_visibility = ["//visibility:public"])
@@ -39,7 +41,7 @@ objc_library(
ios_unit_test(
name = "PlatformTests",
minimum_os_version = "13.0",
minimum_os_version = IOS_MINIMUM_OS,
runner = "//testing/utp/ios:IOS_13",
deps = [
":PlatformTestslib",