Updated comments

This commit is contained in:
Prianka Liz Kariat 2023-05-06 05:15:23 +05:30
parent d79c0bbd39
commit 9f0dd03851

View File

@ -27,7 +27,7 @@ _OPENCV_SIMULATOR_PLATFORM_DIR_NAME = "ios-arm64_x86_64-simulator"
_OPENCV_DEVICE_PLATFORM_DIR_NAME = "ios-arm64"
def _select_headers_impl(ctx):
# Should match with `/`. Othewise `ios-arm64` matches to `ios-arm64_x86-64`
# Should match with `/`. Othewise `ios-arm64` matches with `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]