mediapipe/third_party/opencv_macos.BUILD
MediaPipe Team c0124fb83c Project import generated by Copybara.
GitOrigin-RevId: 612e50bb8db2ec3dc1c30049372d87a80c3848db
2020-08-30 19:52:55 -04:00

27 lines
699 B
Plaintext

# Description:
# OpenCV libraries for video/image processing on MacOS
licenses(["notice"]) # BSD license
exports_files(["LICENSE"])
cc_library(
name = "opencv",
srcs = glob(
[
"lib/libopencv_core.dylib",
"lib/libopencv_calib3d.dylib",
"lib/libopencv_features2d.dylib",
"lib/libopencv_highgui.dylib",
"lib/libopencv_imgcodecs.dylib",
"lib/libopencv_imgproc.dylib",
"lib/libopencv_video.dylib",
"lib/libopencv_videoio.dylib",
],
),
hdrs = glob(["include/opencv2/**/*.h*"]),
includes = ["include/"],
linkstatic = 1,
visibility = ["//visibility:public"],
)