mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
fix: restore sdk_inputs cross-toolchain deps for macOS The change in CL:7652975 restricted sdk_inputs public_deps to iOS only, to avoid setting up Xcode symlinks for the Linux toolchain when cross-building chrome/linux on Mac. However, this also broke cross-arch macOS builds (e.g. ffmpeg with target_cpu=x64) where the mig target in the clang_arm64 toolchain depends on sdk_inputs from the default clang_x64 toolchain. Add target_os == \"mac\" alongside the existing iOS check to preserve the original intent while restoring the cross-toolchain dependency for macOS builds. Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>