Skip to content

build: only fallback to CHROMIUM_BUILDTOOLS_PATH if needed#51558

Merged
dsanders11 merged 3 commits into
mainfrom
build/remove-chromium-buildtools-path-env-usage
May 12, 2026
Merged

build: only fallback to CHROMIUM_BUILDTOOLS_PATH if needed#51558
dsanders11 merged 3 commits into
mainfrom
build/remove-chromium-buildtools-path-env-usage

Conversation

@dsanders11

@dsanders11 dsanders11 commented May 8, 2026

Copy link
Copy Markdown
Member

Description of Change

Alternative to #51440. I landed an upstream change which properly finds src/buildtools for us in depot_tools, so we can drop our usage of CHROMIUM_BUILDTOOLS_PATH. The changes in this PR will do a functional test with depot_tools to determine if we have that upstream fix, and fallback to setting CHROMIUM_BUILDTOOLS_PATH if we don't.

This is safe to land on its own, but will not be a complete migration until electron/build-tools#859 lands and we bump the build-tools SHA here.

This PR also removes get_depot_tools_env from util.py as the only usage was removed in #51263.

Checklist

Release Notes

Notes: none

@dsanders11 dsanders11 force-pushed the build/remove-chromium-buildtools-path-env-usage branch from 6bb4d50 to 11938ca Compare May 9, 2026 02:22
@dsanders11 dsanders11 force-pushed the build/remove-chromium-buildtools-path-env-usage branch from 11938ca to 8779a15 Compare May 9, 2026 03:11
@dsanders11 dsanders11 marked this pull request as ready for review May 11, 2026 17:25
@dsanders11 dsanders11 requested a review from a team as a code owner May 11, 2026 17:25
@dsanders11 dsanders11 merged commit 5d229e4 into main May 12, 2026
122 of 126 checks passed
@dsanders11 dsanders11 deleted the build/remove-chromium-buildtools-path-env-usage branch May 12, 2026 01:56
@release-clerk

release-clerk Bot commented May 12, 2026

Copy link
Copy Markdown

No Release Notes

ckerr added a commit that referenced this pull request May 14, 2026
jkleinsc pushed a commit that referenced this pull request May 14, 2026
* fix: don't return a `nullptr` from `TargetForRect`

Co-authored-by: Noah Gregory <nmggithub@electronjs.org>

* fix: address concerns

Co-authored-by: Noah Gregory <nmggithub@electronjs.org>

* chore: use promise's context for memory dump callback. (#51570)

Co-authored-by: BILL SHEN <15865969+cucbin@users.noreply.github.com>

* build: only fallback to CHROMIUM_BUILDTOOLS_PATH if needed (#51558)

* build: only fallback to CHROMIUM_BUILDTOOLS_PATH if needed

* ci: fix lint workflow detection of src/buildtools

* ci: bump build-tools SHA

Co-authored-by: David Sanders <dsanders11@ucsbalum.com>

* build: update squirrel.mac to 8d808803, drop upstreamed patches (#51584)

Bumps squirrel.mac from 0e5d146ba1 to 8d808803bc and removes 14 patches
that have been upstreamed into Squirrel/Squirrel.Mac (mainly via
Squirrel/Squirrel.Mac#312, plus Squirrel/Squirrel.Mac#298,
Squirrel/Squirrel.Mac#302, Squirrel/Squirrel.Mac#308). Only
build_add_gn_config.patch remains, slimmed down to GN-only changes
since Squirrel/Squirrel.Mac#298 upstreamed the ReactiveCocoa ->
ReactiveObjC import renames it was carrying.

Co-authored-by: Samuel Attard <sam@electronjs.org>

* Revert "build: update squirrel.mac to 8d808803, drop upstreamed patches (#51584)"

This reverts commit d4e9004.

* Revert "build: only fallback to CHROMIUM_BUILDTOOLS_PATH if needed (#51558)"

This reverts commit 090b568.

* Revert "chore: use promise's context for memory dump callback. (#51570)"

This reverts commit a74d8a1.

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Noah Gregory <nmggithub@electronjs.org>
Co-authored-by: BILL SHEN <15865969+cucbin@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
Co-authored-by: Samuel Attard <sam@electronjs.org>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants