mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:35:42 +00:00
* Clean up C++ test warnings * Keep player setup expected map size readable * Declare direct Bazel module dependencies (#7069) * Check Shardok map proto parse results * Prepare Apple and protobuf module resolution * Declare direct Bazel module dependencies
48 lines
1.0 KiB
Python
48 lines
1.0 KiB
Python
load("@bazel_gazelle//:def.bzl", "gazelle")
|
|
load("@io_bazel_rules_go//go:def.bzl", "nogo")
|
|
load("@rules_shell//shell:sh_test.bzl", "sh_test")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
# Platform for cross-compiling to Linux x86_64
|
|
platform(
|
|
name = "linux_x86_64",
|
|
constraint_values = [
|
|
"@platforms//os:linux",
|
|
"@platforms//cpu:x86_64",
|
|
],
|
|
)
|
|
|
|
# Platform for cross-compiling to Linux ARM64
|
|
platform(
|
|
name = "linux_arm64",
|
|
constraint_values = [
|
|
"@platforms//os:linux",
|
|
"@platforms//cpu:aarch64",
|
|
],
|
|
)
|
|
|
|
gazelle(name = "gazelle")
|
|
|
|
# gazelle:proto file
|
|
# gazelle:prefix github.com/nolen777/eagle0
|
|
# gazelle:exclude .ijwb
|
|
|
|
nogo(
|
|
name = "my_nogo",
|
|
vet = True,
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
# Dependency constraint tests
|
|
# These verify architectural boundaries are maintained
|
|
sh_test(
|
|
name = "build_deps_test",
|
|
srcs = ["scripts/check_build_deps.sh"],
|
|
args = ["--ci"],
|
|
tags = [
|
|
"local", # Needs bazel query access
|
|
"no-sandbox",
|
|
],
|
|
)
|