This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport][Windows] Pass "/MD" and variants outside the "runtime_libr…
…ary" target This patch is required for the .NET extension bridge to be built. BUG=XWALK-7336 > Create separate configurations for passing "/MD", "/MT" and their debug > variants: "dynamic_crt" passes "/MD" and "/MDd", whereas "static_crt" > passes "/MT" and "/MTd". BUILDCONFIG then depends on "default_crt", > which has some logic to choose whether to use either dynamic_crt or > static_crt. > > The main reason behind this is to allow users to config -= the > "default_crt" config: in gyp, it was possible to configure what was > going to be passed to the compiler via the > "win_{release,debug}_RuntimeLibrary" variable, which was useful when > building code that needs to pass "/CLR", as it requires "/MD" and does > not work with "/MT". > > [email protected],[email protected],[email protected] > > Review-Url: https://codereview.chromium.org/2379573003
- Loading branch information