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

Side by Side Diff: gyp/common_conditions.gypi

Issue 12480002: Fixing some warnings on Linux (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 | gyp/jsoncpp.gyp » ('j') | gyp/utils.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # conditions used in both common.gypi and skia.gyp in chromium 1 # conditions used in both common.gypi and skia.gyp in chromium
2 # 2 #
3 { 3 {
4 'defines': [ 4 'defines': [
5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', 5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
6 # 'SK_SUPPORT_HINTING_SCALE_FACTOR', 6 # 'SK_SUPPORT_HINTING_SCALE_FACTOR',
7 ], 7 ],
8 'conditions' : [ 8 'conditions' : [
9 ['skia_gpu == 1', 9 ['skia_gpu == 1',
10 { 10 {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 'configurations': { 133 'configurations': {
134 'Debug': { 134 'Debug': {
135 'cflags': ['-g'] 135 'cflags': ['-g']
136 }, 136 },
137 'Release': { 137 'Release': {
138 'cflags': ['-O3 -g'], 138 'cflags': ['-O3 -g'],
139 'defines': [ 'NDEBUG' ], 139 'defines': [ 'NDEBUG' ],
140 }, 140 },
141 }, 141 },
142 'cflags': [ 142 'cflags': [
143 # TODO(tony): Enable -Werror once all the strict-aliasing problems 143 '-Werror',
144 # are fixed.
145 #'-Werror',
146 '-Wall', 144 '-Wall',
147 '-Wextra', 145 '-Wextra',
148 '-Wno-unused',
149 # suppressions below here were added for clang 146 # suppressions below here were added for clang
150 '-Wno-unused-parameter', 147 '-Wno-unused-parameter',
151 '-Wno-c++11-extensions' 148 '-Wno-c++11-extensions'
152 ], 149 ],
153 'conditions' : [ 150 'conditions' : [
154 ['skia_warnings_as_errors == 1', { 151 ['skia_warnings_as_errors == 1', {
155 'cflags': [ 152 'cflags': [
156 '-Werror', 153 '-Werror',
157 ], 154 ],
158 }], 155 }],
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 'xcode_settings': { 384 'xcode_settings': {
388 'SYMROOT': '<(DEPTH)/xcodebuild', 385 'SYMROOT': '<(DEPTH)/xcodebuild',
389 }, 386 },
390 } 387 }
391 388
392 # Local Variables: 389 # Local Variables:
393 # tab-width:2 390 # tab-width:2
394 # indent-tabs-mode:nil 391 # indent-tabs-mode:nil
395 # End: 392 # End:
396 # vim: set expandtab tabstop=2 shiftwidth=2: 393 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | gyp/jsoncpp.gyp » ('j') | gyp/utils.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698