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

Unified Diff: third_party/libpng/libpng.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/libpng/BUILD.gn ('k') | third_party/libxml/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libpng/libpng.gyp
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index ac8fdb41c929c38ac8d85fbf2adf7efdc753ffd9..48b3fa409c24e80d9df8e0c4623f634943c8de82 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -9,6 +9,10 @@
'dependencies': [
'../zlib/zlib.gyp:zlib',
],
+ 'variables': {
+ # Upstream uses self-assignment to avoid warnings.
+ 'clang_warning_flags': [ '-Wno-self-assign' ]
+ },
'defines': [
'CHROME_PNG_WRITE_SUPPORT',
'PNG_USER_CONFIG',
@@ -67,7 +71,7 @@
'defines': [
'PNG_USE_DLL',
],
- },
+ },
}],
['OS=="android"', {
'toolsets': ['target', 'host'],
« no previous file with comments | « third_party/libpng/BUILD.gn ('k') | third_party/libxml/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698