mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-03-14 21:19:43 +01:00
Some checks are pending
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Waiting to run
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Waiting to run
Bazel presubmit checks / other-bazel-checks (push) Waiting to run
Check Configs / check-configs (push) Waiting to run
CMake / build (push) Waiting to run
Build on macOS / build (push) Waiting to run
Build on Windows / build (push) Waiting to run
This is an automated change with the following commands:
$ find . -name "BUILD.bazel" -o -name "*.bzl" \
-exec buildifier -lint=fix {} \;
* Add missing `load()` statements for things provided by @rules_cc. This
is required for Bazel >9.
* Sort attributes on build targets.
* Add missing trailing commas where applicable.
21 lines
592 B
Text
21 lines
592 B
Text
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.
|
|
],
|
|
)
|