diff --git a/tools/distrib/cefclient.gyp b/tools/distrib/cefclient.gyp index 7e33a547b..23fd9cf44 100644 --- a/tools/distrib/cefclient.gyp +++ b/tools/distrib/cefclient.gyp @@ -17,6 +17,9 @@ }, { 'pkg-config': 'pkg-config' }], + [ 'OS=="win"', { + 'multi_threaded_dll%': 0, + }], ] }, 'includes': [ @@ -109,6 +112,26 @@ '<@(cefclient_sources_win)', ], }], + [ 'OS=="win" and multi_threaded_dll', { + 'configurations': { + 'Debug': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'RuntimeLibrary': 3, + 'WarnAsError': 'false', + }, + }, + }, + 'Release': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'RuntimeLibrary': 2, + 'WarnAsError': 'false', + }, + }, + } + } + }], [ 'OS=="mac"', { 'product_name': 'cefclient', 'dependencies': [ @@ -243,6 +266,26 @@ 'gtk', ], }], + [ 'OS=="win" and multi_threaded_dll', { + 'configurations': { + 'Debug': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'RuntimeLibrary': 3, + 'WarnAsError': 'false', + }, + }, + }, + 'Release': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'RuntimeLibrary': 2, + 'WarnAsError': 'false', + }, + }, + } + } + }], ], }, ],