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

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

Issue 274533004: clang: Turn on -Wabsolute-value. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ash3 Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/audio_sender/audio_encoder_unittest.cc ('k') | third_party/mesa/mesa.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['OS == "linux" and chromeos==0', { 8 ['OS == "linux" and chromeos==0', {
9 'use_system_libexif%': 1, 9 'use_system_libexif%': 1,
10 }, { # OS != "linux" and chromeos==0 10 }, { # OS != "linux" and chromeos==0
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ], 49 ],
50 'direct_dependent_settings': { 50 'direct_dependent_settings': {
51 'include_dirs': [ 51 'include_dirs': [
52 'sources', 52 'sources',
53 ], 53 ],
54 }, 54 },
55 'conditions': [ 55 'conditions': [
56 ['clang==1', { 56 ['clang==1', {
57 'cflags': [ 57 'cflags': [
58 '-Wno-enum-conversion', 58 '-Wno-enum-conversion',
59 '-Wno-switch' 59 '-Wno-switch',
60 # libexif uses fabs(int) to cast to float.
61 '-Wno-absolute-value',
60 ], 62 ],
61 'xcode_settings': { 63 'xcode_settings': {
62 'WARNING_CFLAGS': [ 64 'WARNING_CFLAGS': [
63 '-Wno-enum-conversion', 65 '-Wno-enum-conversion',
64 '-Wno-switch', 66 '-Wno-switch',
65 '-Wno-format', 67 '-Wno-format',
68 # libexif uses fabs(int) to cast to float.
69 '-Wno-absolute-value',
66 ], 70 ],
67 }, 71 },
68 }], 72 }],
69 ['os_posix==1 and OS!="mac"', { 73 ['os_posix==1 and OS!="mac"', {
70 'cflags!': ['-fvisibility=hidden'], 74 'cflags!': ['-fvisibility=hidden'],
71 }], 75 }],
72 ['OS=="mac"', { 76 ['OS=="mac"', {
73 'conditions': [ 77 'conditions': [
74 ['mac_breakpad==1', { 78 ['mac_breakpad==1', {
75 'variables': { 79 'variables': {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 ], 125 ],
122 'defines': [ 126 'defines': [
123 'USE_SYSTEM_LIBEXIF', 127 'USE_SYSTEM_LIBEXIF',
124 ], 128 ],
125 }, 129 },
126 } 130 }
127 ], 131 ],
128 }], 132 }],
129 ] 133 ]
130 } 134 }
OLDNEW
« no previous file with comments | « media/cast/audio_sender/audio_encoder_unittest.cc ('k') | third_party/mesa/mesa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698