blob: 2cee750f6f8e314f6b7338e22924579bc73dfee3 [file]
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
package(default_visibility = ["//visibility:public"])
cc_binary(
name = "pico_stdlib_test",
testonly = True,
srcs = ["pico_stdlib_test.c"],
deps = select({
"//bazel/constraint:host": [
"//src/host/pico_bit_ops",
"//src/host/pico_stdlib",
],
"//conditions:default": [
"//src/rp2_common/pico_bit_ops",
"//src/rp2_common/pico_stdlib",
],
}) + [
"//src/common/pico_time", # TODO: This header should be #include'ed from source.
],
)