DescriptionImprove mini installer and official build GN flags
I went through and did some flag auditing to try to get GN's official build mini_installer target as small as GYP's. It's still 512 bytes too large.
Adds the custom mini_installer flags to the "lib" target as well as the main mini_installer target. This removes some imports around exception handling.
Sync some official build flags: LTCG should go on all optimized targets in official builds, not just "optimize max" ones. Doing this on optimize max has no effect because we only set optimize_max on individual libraries that need to be fast, rather than anything that gets linked.
Convert /OPT:REF to /OPT:ICF. GYP specifies both, but ICF seems to imply REF according to MSDN.
Added some missing release mode flags "/d2Zi+", "/Zc:inline", and "/cgthreads:8", which I found missing from GN.
Removed a dependency on "setup" from mini installer, this is captured by the dependency on ":archive" (which already includes the setup dependency).
Committed: https://crrev.com/7cb45ce734f09f358e62fd982c8fa288673b2ab5
Cr-Commit-Position: refs/heads/master@{#347447}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Messages
Total messages: 8 (2 generated)
|