Updated comments
This commit is contained in:
parent
d79c0bbd39
commit
9f0dd03851
2
third_party/opencv_ios_source.bzl
vendored
2
third_party/opencv_ios_source.bzl
vendored
|
@ -27,7 +27,7 @@ _OPENCV_SIMULATOR_PLATFORM_DIR_NAME = "ios-arm64_x86_64-simulator"
|
||||||
_OPENCV_DEVICE_PLATFORM_DIR_NAME = "ios-arm64"
|
_OPENCV_DEVICE_PLATFORM_DIR_NAME = "ios-arm64"
|
||||||
|
|
||||||
def _select_headers_impl(ctx):
|
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
|
_files = [f for f in ctx.files.srcs
|
||||||
if (f.basename.endswith(".h") or f.basename.endswith(".hpp"))
|
if (f.basename.endswith(".h") or f.basename.endswith(".hpp"))
|
||||||
and f.dirname.find(ctx.attr.platform + "/") != -1]
|
and f.dirname.find(ctx.attr.platform + "/") != -1]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user