OLD | NEW |
1 # | 1 # |
2 # Copyright 2014 The LibYuv Project Authors. All rights reserved. | 2 # Copyright 2014 The LibYuv Project Authors. All rights reserved. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
9 | 9 |
10 # This is a copy of WebRTC's gflags.gyp. | 10 # This is a copy of WebRTC's gflags.gyp. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 'conditions': [ | 56 'conditions': [ |
57 ['OS=="win"', { | 57 ['OS=="win"', { |
58 'sources': [ | 58 'sources': [ |
59 'src/windows/port.cc', | 59 'src/windows/port.cc', |
60 ], | 60 ], |
61 # Suppress warnings about WIN32_LEAN_AND_MEAN and size_t truncation. | 61 # Suppress warnings about WIN32_LEAN_AND_MEAN and size_t truncation. |
62 'msvs_disabled_warnings': [4005, 4267], | 62 'msvs_disabled_warnings': [4005, 4267], |
63 }], | 63 }], |
64 # TODO(andrew): Look into fixing this warning upstream: | 64 # TODO(andrew): Look into fixing this warning upstream: |
65 # http://code.google.com/p/webrtc/issues/detail?id=760 | 65 # http://code.google.com/p/webrtc/issues/detail?id=760 |
| 66 ['OS=="win" and clang==1', { |
| 67 'msvs_settings': { |
| 68 'VCCLCompilerTool': { |
| 69 'AdditionalOptions!': [ |
| 70 '-Wheader-hygiene', # Suppress warning about using namespace. |
| 71 ], |
| 72 'AdditionalOptions': [ |
| 73 '-Wno-unused-local-typedef', # Suppress unused private typedef. |
| 74 ], |
| 75 }, |
| 76 }, |
| 77 }], |
66 ['clang==1', { | 78 ['clang==1', { |
67 'cflags!': ['-Wheader-hygiene',], | 79 'cflags!': ['-Wheader-hygiene',], |
68 'xcode_settings': { | 80 'xcode_settings': { |
69 'WARNING_CFLAGS!': ['-Wheader-hygiene',], | 81 'WARNING_CFLAGS!': ['-Wheader-hygiene',], |
70 }, | 82 }, |
71 }], | 83 }], |
72 ], | 84 ], |
73 }, | 85 }, |
74 ], | 86 ], |
75 } | 87 } |
OLD | NEW |