Updated condition checks in third_party/BUILD

This commit is contained in:
Prianka Liz Kariat 2023-05-06 04:37:09 +05:30
parent 26fce393e8
commit d22a1318f6

4
third_party/BUILD vendored
View File

@ -104,7 +104,7 @@ config_setting(
}, },
values = { values = {
"apple_platform_type": "ios", "apple_platform_type": "ios",
"ios_multi_cpus": "sim_arm64, x86_64", "ios_multi_cpus": "sim_arm64,x86_64",
}, },
) )
@ -113,8 +113,8 @@ alias(
actual = select({ actual = select({
":opencv_source_build": ":opencv_cmake", ":opencv_source_build": ":opencv_cmake",
":opencv_ios_sim_arm64_source_build": "@ios_opencv_source//:opencv", ":opencv_ios_sim_arm64_source_build": "@ios_opencv_source//:opencv",
":opencv_ios_sim_fat_source_build": "@ios_opencv_source//:opencv",
":opencv_ios_arm64_source_build": "@ios_opencv_source//:opencv", ":opencv_ios_arm64_source_build": "@ios_opencv_source//:opencv",
":opencv_ios_x86_64_source_build": "@ios_opencv_source//:opencv",
"//conditions:default": ":opencv_binary", "//conditions:default": ":opencv_binary",
}), }),
visibility = ["//visibility:public"], visibility = ["//visibility:public"],