chromium-src-build/config/win
thakis f9105f04b0 clang/win/gn: Actually build 32-bit .obj files in 32-bit builds.
In clang builds, we use the same compiler binary for 32-bit and 64-bit
builds, so we need to tell that binary if it should produce 32-bit or
64-bit object files.

The //build/config/compiler:compiler config takes care of adding -m32
and -m64 flags, but the mini_installer target removed that config,
removing these flags (and other important compiler flags such as
-fmsc-version).

It looks like removing this config isn't really necessary -- the only
compiler flag that mini_installer wants to change is /GS-, to disable
buffer security checks.  I first thought I'd move /GS into its own
config so that mini_installer can remove it, but it turns out /GS is
on by default.  So don't pass /GS in :compiler, and do pass /GS- in
mini_installer.

No target should remove //build/config/compiler:compiler from its configs.

BUG=498033

Review-Url: https://codereview.chromium.org/1957523005
Cr-Original-Commit-Position: refs/heads/master@{#392175}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7170da48a964aa08a16fbf03ce17dbd78b596500
2016-05-06 22:14:56 +00:00
..
BUILD.gn clang/win/gn: Actually build 32-bit .obj files in 32-bit builds. 2016-05-06 22:14:56 +00:00
console_app.gni Support win_console_app for content_shell. 2016-01-19 17:41:43 +00:00
manifest.gni Recompile .rc files when manifests change in GN. 2016-05-03 00:56:44 +00:00
msvs_dependencies.isolate CR tweaks that missed the last CL 2016-02-22 23:11:01 +00:00
visual_studio_version.gni Add comment to is_win_fastlink declare_args 2016-04-05 23:02:27 +00:00