-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into platform_bazelrc
- Loading branch information
Showing
21 changed files
with
514 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
load("@bazel_gazelle//:def.bzl", "DEFAULT_LANGUAGES", "gazelle", "gazelle_binary") | ||
load("@bazel_skylib//:bzl_library.bzl", "bzl_library") | ||
|
||
# "@bazel_tools//tools:bzl_srcs" is a filegroup. Convert define a `bzl_library` for it | ||
bzl_library( | ||
name = "bazel_tools_bzl_srcs", | ||
srcs = ["@bazel_tools//tools:bzl_srcs"], | ||
gazelle( | ||
name = "gazelle", | ||
gazelle = ":gazelle_bin", | ||
) | ||
|
||
bzl_library( | ||
name = "bzl_srcs", | ||
srcs = glob(["**/*.bzl"]) + [ | ||
"@bazel_tools//tools:bzl_srcs", | ||
gazelle_binary( | ||
name = "gazelle_bin", | ||
languages = DEFAULT_LANGUAGES + [ | ||
"@bazel_skylib_gazelle_plugin//bzl", | ||
], | ||
) | ||
|
||
bzl_library( | ||
name = "version", | ||
srcs = ["version.bzl"], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
":bazel_tools_bzl_srcs", | ||
"//foreign_cc:bzl_srcs", | ||
"//toolchains:bzl_srcs", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# Bazel configuration flags for rules_foregin_cc_docs | ||
# Bazel configuration flags for rules_foreign_cc_docs | ||
|
||
# https://github.com/bazelbuild/stardoc/issues/112 | ||
common --incompatible_allow_tags_propagation | ||
|
||
common --noenable_bzlmod | ||
build --workspace_status_command=tools/workspace_status.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.