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

Unified Diff: third_party/lzma_sdk/lzma_sdk.gyp

Issue 1218903002: win clang: don't disable -Wself-assign (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix lzma_sdk and libpng for gn build Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/lzma_sdk/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/lzma_sdk/lzma_sdk.gyp
diff --git a/third_party/lzma_sdk/lzma_sdk.gyp b/third_party/lzma_sdk/lzma_sdk.gyp
index c6fa932ce3c02ef777267bf2d14415998b62bf30..a1167d5f71c2b8b7d363c211a41bd59ce400bfd2 100644
--- a/third_party/lzma_sdk/lzma_sdk.gyp
+++ b/third_party/lzma_sdk/lzma_sdk.gyp
@@ -49,6 +49,10 @@
'_7ZIP_ST',
'_LZMA_PROB32',
],
+ 'variables': {
+ # Upstream uses self-assignment to avoid warnings.
+ 'clang_warning_flags': [ '-Wno-self-assign' ]
+ },
'sources': [
'<@(lzma_sdk_sources)',
],
@@ -72,6 +76,10 @@
'_7ZIP_ST',
'_LZMA_PROB32',
],
+ 'variables': {
+ # Upstream uses self-assignment to avoid warnings.
+ 'clang_warning_flags': [ '-Wno-self-assign' ]
+ },
'include_dirs': [
'.',
],
« no previous file with comments | « third_party/lzma_sdk/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698