skia2/gn
Mike Klein 916ca1d8a0 Compile for Windows with /Zc:inline.
By default, MSVC generates standalone versions of all functions, including static inline functions that are only inlined.  Those standalone versions are dead code.  This /Zc:inline flag makes MSVC behave like all the other compilers, omitting those standalone functions.  Chrome builds with this flag.

This CL cuts dm.exe and nanobench.exe each down by about 3MB, 19->16MB for DM and 15MB->12MB for nanobench.  This shouldn't affect runtime speed, and didn't signficantly change clean build time on my Z840 (~90s either way).

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3735

Change-Id: Ibd2a80337fcefc3f4eaf4335ea4e95a80bb4fddb
Reviewed-on: https://skia-review.googlesource.com/3735
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Ben Wagner <bungeman@google.com>
2016-10-20 17:50:44 +00:00
..
BUILD.gn Compile for Windows with /Zc:inline. 2016-10-20 17:50:44 +00:00
BUILDCONFIG.gn GN/Win: warnings and warn-as-error 2016-10-13 04:17:38 +00:00
cp.py GN: get Angle compiling on Windows. 2016-10-17 16:16:16 +00:00
echo_headers.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
gn_helpers.py Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
gn_to_cmake.py Auto re-gen for gn cmake generator. 2016-10-06 21:12:21 +00:00
gypi_to_gn.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
is_clang.py GN: match shell behavior for cc and cxx in is_clang.py 2016-09-27 09:29:24 -07:00
shared_sources.gni GN: add a flag to implement Android_FrameworkDefs bot. 2016-09-16 07:45:52 -07:00