| Index: third_party/third_party.gyp
|
| diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
|
| index 0208fa14e37a9ddd2c47c25abde56cd9e3368a42..6746230f1d8a557b04d62347b53e711ccdf8f444 100644
|
| --- a/third_party/third_party.gyp
|
| +++ b/third_party/third_party.gyp
|
| @@ -230,14 +230,12 @@
|
| 'libjpeg/jversion.h',
|
| 'libjpeg/transupp.h',
|
| ],
|
| - 'cflags': [
|
| - '-Wno-shift-negative-value',
|
| - ],
|
| 'conditions': [
|
| ['os_posix==1', {
|
| 'cflags': [
|
| '-Wno-main',
|
| '-Wno-missing-braces',
|
| + '-Wno-shift-negative-value',
|
| '-Wno-unused',
|
| ],
|
| }],
|
| @@ -316,9 +314,13 @@
|
| 'zlib_v128/uncompr.c',
|
| 'zlib_v128/zutil.c',
|
| ],
|
| - 'cflags': [
|
| - # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/507712
|
| - '-Wno-shift-negative-value',
|
| + 'conditions': [
|
| + ['os_posix==1', {
|
| + 'cflags': [
|
| + # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/507712
|
| + '-Wno-shift-negative-value',
|
| + ],
|
| + }],
|
| ],
|
|
|
| },
|
|
|