Automatically format GN build files under the components directory

Commit: b80b2b99 | 2025-07-28 18:58:07+00:00

← Back to List

Automatically format GN build files under the components directory

Minor
Commit Hash: b80b2b99e78beaa11a75072e161e7bbd346e6bd0
Commit Time: 2025-07-28 18:58:07+00:00
Impact Level: Minor
Generated By: webview2-upstream-sentry
Upstream Review: View Upstream Review 🔗

📋 Summary

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.

🎯 Impact Analysis

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.

Impacted Classes:

无(此次变更未涉及 remote_cocoa 相关类或接口,仅为 BUILD.gn 构建文件格式化)