Automatically format GN build files under the components directory
Minor
提交哈希:
b80b2b99e78beaa11a75072e161e7bbd346e6bd0
提交时间: 2025-07-28 18:58:07+00:00
影响等级: Minor
生成工具: webview2-upstream-sentry
上游审核链接:
查看上游审核 🔗
📋 摘要
This submission primarily involves automatic formatting of GN build files (BUILD.gn) in certain subdirectories under the //components/ directory that start with [p-z]. Specific operations include: using the "gn format" tool for unified formatting, shortening target references (such as removing the :target suffix), deleting duplicate dependencies, and allowing the GN tool to automatically correct formatting irregularities. This change does not involve any C++/Objective-C source code or business logic, and is solely an optimization of the build configuration file formatting.
🎯 影响分析
This commit only formats and simplifies dependencies in the GN build files, without modifying any remote_cocoa-related C++/Objective-C source code, interface definitions, or implementation details. For the WebView2Mac project, this does not affect its functionality, performance, or integration with remote_cocoa. The only potential impact is that if downstream build scripts rely on the old target syntax (such as :target), they may need to be updated to adapt to the new format; however, this is an issue at the build system level and does not affect actual runtime behavior.
受影响的类:
无(此次变更未涉及 remote_cocoa 相关类或接口,仅为 BUILD.gn 构建文件格式化)