1
1
cc_library (
2
2
name = "shared" ,
3
3
linkstatic = 1 ,
4
+ target_compatible_with = select ({
5
+ "@rules_bzlmodrio_toolchains//constraints/is_raspi32:raspi32" : ["@platforms//:incompatible" ],
6
+ "//conditions:default" : [],
7
+ }),
4
8
visibility = ["@bzlmodrio-opencv//:__subpackages__" ],
5
9
deps = ["@bazelrio_edu_wpi_first_thirdparty_frc_opencv_opencv-cpp_headers//:headers" ] + select ({
6
10
"@rules_bzlmodrio_toolchains//constraints/is_roborio:roborio" : ["@bazelrio_edu_wpi_first_thirdparty_frc_opencv_opencv-cpp_linuxathena//:shared_libs" ],
@@ -21,6 +25,10 @@ cc_library(
21
25
cc_library (
22
26
name = "static" ,
23
27
linkstatic = 1 ,
28
+ target_compatible_with = select ({
29
+ "@rules_bzlmodrio_toolchains//constraints/is_raspi32:raspi32" : ["@platforms//:incompatible" ],
30
+ "//conditions:default" : [],
31
+ }),
24
32
visibility = ["@bzlmodrio-opencv//:__subpackages__" ],
25
33
deps = ["@bazelrio_edu_wpi_first_thirdparty_frc_opencv_opencv-cpp_headers//:headers" ] + select ({
26
34
"@rules_bzlmodrio_toolchains//constraints/is_roborio:roborio" : ["@bazelrio_edu_wpi_first_thirdparty_frc_opencv_opencv-cpp_linuxathenastatic//:static_libs" ],
@@ -41,6 +49,10 @@ cc_library(
41
49
cc_library (
42
50
name = "jni" ,
43
51
linkstatic = 1 ,
52
+ target_compatible_with = select ({
53
+ "@rules_bzlmodrio_toolchains//constraints/is_raspi32:raspi32" : ["@platforms//:incompatible" ],
54
+ "//conditions:default" : [],
55
+ }),
44
56
visibility = ["@bzlmodrio-opencv//:__subpackages__" ],
45
57
deps = ["@bazelrio_edu_wpi_first_thirdparty_frc_opencv_opencv-cpp_headers//:headers" ] + select ({
46
58
"@rules_bzlmodrio_toolchains//constraints/is_roborio:roborio" : ["@bazelrio_edu_wpi_first_thirdparty_frc_opencv_opencv-cpp_linuxathena//:shared_jni_libs" ],
0 commit comments