[bazel] Move the easy pieces of the build over to bzlmod (#8542)

bzlmod is the future, and makes it easier to depend on AOS.

---------

Signed-off-by: Austin Schuh <austin.linux@gmail.com>
This commit is contained in:
Austin Schuh
2026-01-12 14:30:31 -08:00
committed by GitHub
parent 0fd8210b5a
commit 1724e59f8d
14 changed files with 1166 additions and 444 deletions

View File

@@ -8,3 +8,9 @@ common:macos --repo_env=BAZEL_CXXOPTS="-std=c++20:-pedantic:-fPIC:-Wno-unused-pa
common:macos --repo_env=BAZEL_CONLYOPTS="-pedantic:-fPIC:-Wno-unused-parameter:-Wno-missing-field-initializers:-Wno-unused-private-field:-Wno-fixed-enum-extension"
common:macos --repo_env=BAZEL_LINKOPTS="-Wl,-rpath,'@loader_path'"
common:macos --host_per_file_copt=external/.*@-Wno-pedantic,-Wno-deprecated-declarations
common:macos --per_file_copt=external/.*@-Wno-pedantic,-Wno-deprecated-declarations
common:macos --host_per_file_copt=external/.*\.c$@-Wno-c11-extensions
common:macos --per_file_copt=external/.*\.c$@-Wno-c11-extensions