Skip to content

Commit

Permalink
WORKSPACE: Move platforms dep to the top
Browse files Browse the repository at this point in the history
Otherwise, the version specified here will be ignored if `platforms` is
a transitive dep of one of our other external dependencies.

Bug: 258835053
Change-Id: I12b03401c674092fc2b2bc0defe4f11982250172
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/118932
Reviewed-by: Rob Mohr <[email protected]>
Commit-Queue: Ted Pudlik <[email protected]>
Pigweed-Auto-Submit: Ted Pudlik <[email protected]>
  • Loading branch information
tpudlik authored and CQ Bot Account committed Nov 11, 2022
1 parent 645cce6 commit 76d4894
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ load(
"pigweed_deps",
)

# Set up Bazel platforms.
# Required by: pigweed.
# Used in modules: //pw_build, (Assorted modules via select statements).
git_repository(
name = "platforms",
commit = "d4c9d7f51a7c403814b60f66d20eeb425fbaaacb",
remote = "https://github.com/bazelbuild/platforms.git",
)

# Setup CIPD client and packages.
# Required by: pigweed.
# Used by modules: all.
Expand Down Expand Up @@ -166,15 +175,6 @@ load("@com_github_nanopb_nanopb//:nanopb_workspace.bzl", "nanopb_workspace")

nanopb_workspace()

# Set up Bazel platforms.
# Required by: pigweed.
# Used in modules: //pw_build, (Assorted modules via select statements).
git_repository(
name = "platforms",
commit = "d4c9d7f51a7c403814b60f66d20eeb425fbaaacb",
remote = "https://github.com/bazelbuild/platforms.git",
)

# Set up NodeJs rules.
# Required by: pigweed.
# Used in modules: //pw_web.
Expand Down

0 comments on commit 76d4894

Please sign in to comment.