Add multi_threaded_dll option to cefclient.gyp (issue #970).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1303 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-07-11 18:53:53 +00:00
parent 5d5a1eb641
commit 8118ed28b3
1 changed files with 43 additions and 0 deletions

View File

@ -17,6 +17,9 @@
}, { }, {
'pkg-config': 'pkg-config' 'pkg-config': 'pkg-config'
}], }],
[ 'OS=="win"', {
'multi_threaded_dll%': 0,
}],
] ]
}, },
'includes': [ 'includes': [
@ -109,6 +112,26 @@
'<@(cefclient_sources_win)', '<@(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"', { [ 'OS=="mac"', {
'product_name': 'cefclient', 'product_name': 'cefclient',
'dependencies': [ 'dependencies': [
@ -243,6 +266,26 @@
'gtk', 'gtk',
], ],
}], }],
[ 'OS=="win" and multi_threaded_dll', {
'configurations': {
'Debug': {
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 3,
'WarnAsError': 'false',
},
},
},
'Release': {
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': 2,
'WarnAsError': 'false',
},
},
}
}
}],
], ],
}, },
], ],