Combine MSVS warning supression codes
together in crypto.gyp "msvs_disabled_warnings" code definition present in two place in the same 'target_name': 'crypto'. Review URL: https://codereview.chromium.org/492963004 Cr-Commit-Position: refs/heads/master@{#291903}
This commit is contained in:
@@ -21,9 +21,6 @@
|
|||||||
'defines': [
|
'defines': [
|
||||||
'CRYPTO_IMPLEMENTATION',
|
'CRYPTO_IMPLEMENTATION',
|
||||||
],
|
],
|
||||||
'msvs_disabled_warnings': [
|
|
||||||
4018,
|
|
||||||
],
|
|
||||||
'conditions': [
|
'conditions': [
|
||||||
[ 'os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
|
[ 'os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
|
||||||
'dependencies': [
|
'dependencies': [
|
||||||
@@ -95,8 +92,10 @@
|
|||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
[ 'OS == "win"', {
|
[ 'OS == "win"', {
|
||||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
'msvs_disabled_warnings': [
|
||||||
'msvs_disabled_warnings': [4267, ],
|
4267, # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||||
|
4018,
|
||||||
|
],
|
||||||
}],
|
}],
|
||||||
[ 'use_openssl==1', {
|
[ 'use_openssl==1', {
|
||||||
'dependencies': [
|
'dependencies': [
|
||||||
|
Reference in New Issue
Block a user