Changed opencv framework version to 4.5.3

This commit is contained in:
Prianka Liz Kariat
2023-05-06 04:39:09 +05:30
parent d22a1318f6
commit 4349ac48b0
4 changed files with 463 additions and 458 deletions
+4 -6
View File
@@ -27,12 +27,10 @@ _OPENCV_SIMULATOR_PLATFORM_DIR_NAME = "ios-arm64_x86_64-simulator"
_OPENCV_DEVICE_PLATFORM_DIR_NAME = "ios-arm64"
def _select_headers_impl(ctx):
_files = [
f
for f in ctx.files.srcs
if (f.basename.endswith(".h") or f.basename.endswith(".hpp")) and
f.dirname.find(ctx.attr.platform) != -1
]
# Should match with `/`. Othewise `ios-arm64` matches to `ios-arm64_x86-64`
_files = [f for f in ctx.files.srcs
if (f.basename.endswith(".h") or f.basename.endswith(".hpp"))
and f.dirname.find(ctx.attr.platform + "/") != -1]
return [DefaultInfo(files = depset(_files))]
# This rule selects only the headers from an apple static xcframework filtered by