ios: Use prebuilt mig on non-Mac hosts in util/BUILD.gn [crashpad/crashpad : main]

6 views
Skip to first unread message

Justin Cohen (Gerrit)

unread,
Oct 1, 2026, 4:47:54 PMOct 1
to Mark Mentovai, crashp...@chromium.org
Attention needed from Mark Mentovai

Justin Cohen added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Justin Cohen . resolved

Most of this CL is upstreaming crrev.com/c/2879859.

The new diff is:
```
@@ -58,12 +58,12 @@ if (crashpad_is_apple && !crashpad_is_tvos) {

     args = [ "{{source}}" ]
if (crashpad_is_in_chromium) {
- if (!use_system_xcode) {
+ if (!use_system_xcode || host_os != "mac") {
import("//build/config/clang/clang.gni")
- import("//build/config/mac/mac_sdk.gni")
clang_path =
rebase_path("$clang_base_path/bin/", root_build_dir) + "clang"
if (host_os == "mac") {
+ import("//build/config/mac/mac_sdk.gni")
mig_path = "$mac_bin_path" + "mig"
migcom_path = "$mac_bin_path" + "../libexec/migcom"
} else if (host_os == "linux") {
```
Open in Gerrit

Related details

Attention is currently required from:
  • Mark Mentovai
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I5420d6a6edd95f45c9e15d2a98279d714f89329d
Gerrit-Change-Number: 8504444
Gerrit-PatchSet: 2
Gerrit-Owner: Justin Cohen <justi...@google.com>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Thu, 01 Oct 2026 20:47:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Mark Mentovai (Gerrit)

unread,
Oct 1, 2026, 4:50:18 PMOct 1
to Justin Cohen, crashp...@chromium.org
Attention needed from Justin Cohen

Mark Mentovai voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Justin Cohen
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I5420d6a6edd95f45c9e15d2a98279d714f89329d
Gerrit-Change-Number: 8504444
Gerrit-PatchSet: 2
Gerrit-Owner: Justin Cohen <justi...@google.com>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Attention: Justin Cohen <justi...@google.com>
Gerrit-Comment-Date: Thu, 01 Oct 2026 20:50:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Justin Cohen (Gerrit)

unread,
Oct 1, 2026, 4:50:39 PMOct 1
to Mark Mentovai, crashp...@chromium.org

Justin Cohen voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I5420d6a6edd95f45c9e15d2a98279d714f89329d
Gerrit-Change-Number: 8504444
Gerrit-PatchSet: 2
Gerrit-Owner: Justin Cohen <justi...@google.com>
Gerrit-Reviewer: Justin Cohen <justi...@google.com>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
Gerrit-Comment-Date: Thu, 01 Oct 2026 20:50:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Justin Cohen (Gerrit)

unread,
Oct 1, 2026, 6:28:03 PMOct 1
to crashpa...@luci-project-accounts.iam.gserviceaccount.com, Mark Mentovai, crashp...@chromium.org

Justin Cohen submitted the change

Change information

Commit message:
ios: Use prebuilt mig on non-Mac hosts in util/BUILD.gn

Upstream Linux prebuilt mig support from Chromium (crrev.com/c/2879859)
and enable it on non-Mac hosts even when `use_system_xcode` is true --
which is required for iOS builds. Also guard the `mac_sdk.gni` import
behind `host_os == "mac"`.
Bug: 568440770
Change-Id: I5420d6a6edd95f45c9e15d2a98279d714f89329d
Commit-Queue: Justin Cohen <justi...@google.com>
Reviewed-by: Mark Mentovai <ma...@chromium.org>
Files:
  • M util/BUILD.gn
Change size: S
Delta: 1 file changed, 12 insertions(+), 4 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Mark Mentovai
  • requirement satisfiedReview-Enforcement: Code-Review+1 by Mark Mentovai
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: crashpad/crashpad
Gerrit-Branch: main
Gerrit-Change-Id: I5420d6a6edd95f45c9e15d2a98279d714f89329d
Gerrit-Change-Number: 8504444
Gerrit-PatchSet: 3
Gerrit-Owner: Justin Cohen <justi...@google.com>
Gerrit-Reviewer: Justin Cohen <justi...@google.com>
Gerrit-Reviewer: Mark Mentovai <ma...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages