package(default_visibility = ["//visibility:public"]) | |
cc_library( | |
name = "pico_divider", | |
hdrs = ["include/pico/divider.h"], | |
includes = ["include"], | |
deps = [ | |
"//src/common/pico_base", | |
] + select({ | |
"//bazel/constraint:rp2": ["//src/rp2_common/hardware_divider"], | |
"//bazel/constraint:host": ["//src/host/hardware_divider"], | |
}), | |
) |