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

Side by Side 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, 4 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 | « no previous file | 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 # 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 'sources/libexif/pentax/mnote-pentax-tag.c', 45 'sources/libexif/pentax/mnote-pentax-tag.c',
46 ], 46 ],
47 'include_dirs': [ 47 'include_dirs': [
48 'sources', 48 'sources',
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 'variables': {
56 'clang_warning_flags': [
57 '-Wno-enum-conversion',
58 '-Wno-switch',
59 '-Wno-format',
60 # libexif uses fabs(int) to cast to float.
61 '-Wno-absolute-value',
62 ],
63 },
55 'conditions': [ 64 'conditions': [
56 ['clang==1', {
57 'cflags': [
58 '-Wno-enum-conversion',
59 '-Wno-switch',
60 # libexif uses fabs(int) to cast to float.
61 '-Wno-absolute-value',
62 ],
63 'xcode_settings': {
64 'WARNING_CFLAGS': [
65 '-Wno-enum-conversion',
66 '-Wno-switch',
67 '-Wno-format',
68 # libexif uses fabs(int) to cast to float.
69 '-Wno-absolute-value',
70 ],
71 },
72 }],
73 ['os_posix==1 and OS!="mac"', { 65 ['os_posix==1 and OS!="mac"', {
74 'cflags!': ['-fvisibility=hidden'], 66 'cflags!': ['-fvisibility=hidden'],
75 }], 67 }],
76 ['OS=="mac"', { 68 ['OS=="mac"', {
77 'conditions': [ 69 'conditions': [
78 ['mac_breakpad==1', { 70 ['mac_breakpad==1', {
79 'variables': { 71 'variables': {
80 'mac_real_dsym': 1, 72 'mac_real_dsym': 1,
81 }, 73 },
82 }], 74 }],
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 ], 117 ],
126 'defines': [ 118 'defines': [
127 'USE_SYSTEM_LIBEXIF', 119 'USE_SYSTEM_LIBEXIF',
128 ], 120 ],
129 }, 121 },
130 } 122 }
131 ], 123 ],
132 }], 124 }],
133 ] 125 ]
134 } 126 }
OLDNEW
« 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