Skip to content

[iOS,macOS] Merge iOS and macOS gn SDK-related toolchain scripts #167592

Closed

Description

@cbracken

Our gn build variables are declared in:

  • //build/config/ios/ios_sdk.gni for iOS
  • //build/config/ios/macos_sdk.gni for macOS

These use:

  • //build/ios/ios_sdk.py for iOS
  • //build/mac/find_sdk.py for macOS

We should:

  1. Merge all gn rules/scripts these under a //build/apple directory.
  2. Merge ios_sdk.py and find_sdk.py into a single script that does both. See Chromium's //build/config/apple/sdk_info.py for where they've done this.
  3. Extract common gn rules to //build/config/apple/apple_sdk.gni and keep platform-specific rules in //build/config/apple/ios_sdk.gn and //build/config/apple/macos_sdk.gni.

Part of:
Issue: #144791

Activity

  1. self-assigned this
    on Apr 22, 2025
  2. added
    team-iosOwned by iOS platform team
    fyi-macosFor the attention of macOS platform team
    P3Issues that are less important to the Flutter project
    on Apr 22, 2025
  3. added a commit that references this issue on Apr 28, 2025
  4. 12 remaining items

  5. cbracken commented on Apr 29, 2025

    @cbracken
    MemberAuthor

    This is now complete.

  6. github-actions commented on May 13, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectfyi-macosFor the attention of macOS platform teamteam-iosOwned by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions