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

Unified Diff: third_party/libexif/libexif.gyp

Issue 439543002: Convert libexif.gyp to new clang flags after r287092. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with wno-format Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libexif/libexif.gyp
diff --git a/third_party/libexif/libexif.gyp b/third_party/libexif/libexif.gyp
index 5819b3ae8e6ca6e8011d44be03bd2518ab6a6cb9..efb17026927947de9e8a4174b0e92ff15c8c5bce 100644
--- a/third_party/libexif/libexif.gyp
+++ b/third_party/libexif/libexif.gyp
@@ -52,24 +52,16 @@
'sources',
],
},
+ 'variables': {
+ 'clang_warning_flags': [
+ '-Wno-enum-conversion',
+ '-Wno-switch',
+ '-Wno-format',
+ # libexif uses fabs(int) to cast to float.
+ '-Wno-absolute-value',
+ ],
+ },
'conditions': [
- ['clang==1', {
- 'cflags': [
- '-Wno-enum-conversion',
- '-Wno-switch',
- # libexif uses fabs(int) to cast to float.
- '-Wno-absolute-value',
- ],
- 'xcode_settings': {
- 'WARNING_CFLAGS': [
- '-Wno-enum-conversion',
- '-Wno-switch',
- '-Wno-format',
- # libexif uses fabs(int) to cast to float.
- '-Wno-absolute-value',
- ],
- },
- }],
['os_posix==1 and OS!="mac"', {
'cflags!': ['-fvisibility=hidden'],
}],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698