)]}'
{
  "commit": "dc2a8703e12bda92ae379f291d757c361f3069a3",
  "tree": "af642532a365d3e366f6d64e3084345f25f907c0",
  "parents": [
    "5ea3536790856ce6f70eb85cd8da9e3c4c19ab78"
  ],
  "author": {
    "name": "Chris Bracken",
    "email": "chris@bracken.jp",
    "time": "Fri Jul 10 07:55:24 2026 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 09 22:55:24 2026 +0000"
  },
  "message": "[ios,macos] Update swiftc.py flags to match swiftc (#189174)\n\nThis updates flag names in the swiftc.py build wrapper and GN rules to\nmatch underlying swiftc counterparts (-module-name, -import-objc-header,\nand -target). This eliminates the finer-grained custom flags we had been\nusing for convenience.\n\nThis also deduplicates the LLVM target triple mapping and iOS simulator\nsuffix rules into darwin_sdk.gni, so they\u0027re shared between default and\ntest configurations.\n\nThis is pre-factoring that will simplify downstream\ncompile_commands.json post-processing in an upcoming patch that adds\nSourceKit LSP support for Swift.\n\nNo test changes because the test is the build itself (as well as\nexisting tests).\n\nIssue: https://github.com/flutter/flutter/issues/185741\n\n\u003c!--\nThanks for filing a pull request!\nReviewers are typically assigned within a week of filing a request.\nTo learn more about code review, see our documentation on Tree Hygiene:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n--\u003e\n\n\n## Pre-launch Checklist\n\n- [X] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [X] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [X] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [X] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [X] I signed the [CLA].\n- [X] I listed at least one issue that this PR fixes in the description\nabove.\n- [X] I updated/added relevant documentation (doc comments with `///`).\n- [X] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [X] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [X] All existing and new tests are passing.\n\nIf you need help, consider asking for advice on the #hackers-new channel\non [Discord].\n\nIf this change needs to override an active code freeze, provide a\ncomment explaining why. The code freeze workflow can be overridden by\ncode reviewers. See pinned issues for any active code freezes with\nguidance.\n\n**Note**: The Flutter team is currently trialing the use of [Gemini Code\nAssist for\nGitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).\nComments from the `gemini-code-assist` bot should not be taken as\nauthoritative feedback from the Flutter team. If you find its comments\nuseful you can update your code accordingly, but if you are unsure or\ndisagree with the feedback, please feel free to wait for a Flutter team\nmember\u0027s review for guidance on which automated comments should be\naddressed.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[flutter/tests]: https://github.com/flutter/tests\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Discord]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9973145780f97cc7ea1dbc71121774e24be52f99",
      "old_mode": 33188,
      "old_path": "engine/src/build/config/darwin/BUILD.gn",
      "new_id": "c0e8629baa18c9ea8bf06061c06a82adccea5f0c",
      "new_mode": 33188,
      "new_path": "engine/src/build/config/darwin/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "90cd97af1d2e6163bc202eadf7b3491c9df6c801",
      "old_mode": 33188,
      "old_path": "engine/src/build/config/darwin/darwin_sdk.gni",
      "new_id": "12c46c14876005a02814606769287224850910ac",
      "new_mode": 33188,
      "new_path": "engine/src/build/config/darwin/darwin_sdk.gni"
    },
    {
      "type": "modify",
      "old_id": "bd37c5a67159183713d3d43d48bb7acff084610d",
      "old_mode": 33261,
      "old_path": "engine/src/build/toolchain/darwin/swiftc.py",
      "new_id": "7b8d54f2993ebd8ba4b1dced12943911146758d3",
      "new_mode": 33261,
      "new_path": "engine/src/build/toolchain/darwin/swiftc.py"
    },
    {
      "type": "modify",
      "old_id": "a3dfd6f2db999b37462a30a89cb70aaa8db20c8f",
      "old_mode": 33188,
      "old_path": "engine/src/build/toolchain/mac/BUILD.gn",
      "new_id": "cdad68a311ea9568ff1a39cba6f7137ccf4558d9",
      "new_mode": 33188,
      "new_path": "engine/src/build/toolchain/mac/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "b0202de010016f3dbfe57226bc0e16f93ff22911",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/darwin/common/BUILD.gn",
      "new_id": "8938cbe1718be02c34bef92ec1afc83961b6e9c7",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/darwin/common/BUILD.gn"
    }
  ]
}
