Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/gflags/gflags.gyp

Issue 1427643003: pass clangcl compile options to ignore warnings in gflags.cc (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: bump version number Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/libyuv/version.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « include/libyuv/version.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698