Skip to content

build: add platform-specific conditions to the source_set in chromium_src #47627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

cucbin
Copy link
Contributor

@cucbin cucbin commented Jul 1, 2025

Description of Change

The configuration in chromium_src's BUILD.gn causes Visual Studio's Solution Explorer to display projects and code irrelevant to the current platform.

This occurs because source sets originally intended for Mac-only were incorrectly included.
image

Checklist

Release Notes

Notes: Add platform-specific conditions to the source_set in chromium_src

@deepak1556
Copy link
Member

Thanks! while you are in this file, can you also move

"//chrome/browser/ui/views/overlay/video_overlay_window_native_widget_mac.h",
"//chrome/browser/ui/views/overlay/video_overlay_window_native_widget_mac.mm",
to mac only sources under
sources += [

@nikwen nikwen changed the title build: Add platform-specific conditions to the source_set in chromium_src build: add platform-specific conditions to the source_set in chromium_src Jul 2, 2025
@codebytere
Copy link
Member

@cucbin would you please rebase this?

@cucbin cucbin force-pushed the build/add_platform_specific_if_condition_to_source_sets_in_chromium_src branch from 12e6b2b to 004ed7f Compare July 4, 2025 16:21
@cucbin
Copy link
Contributor Author

cucbin commented Jul 4, 2025

@cucbin would you please rebase this?

@codebytere done.

@cucbin
Copy link
Contributor Author

cucbin commented Jul 11, 2025

@codebytere
I see most of the check jobs have passed. could you please help merge it?
And is it possible for me to become a collaborator?

@codebytere codebytere merged commit 9f3636f into electron:main Jul 14, 2025
146 of 150 checks passed
@release-clerk
Copy link

release-clerk bot commented Jul 14, 2025

Release Notes Persisted

Add platform-specific conditions to the source_set in chromium_src

georgexu99 pushed a commit that referenced this pull request Jul 16, 2025
…_src (#47627)

* build: Add platform-specific if conditions to the source sets in chromium_src.

* build: Add platform-specific if conditions to the source sets in chromium_src.
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.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy