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

Side by Side Diff: build/standalone.gypi

Issue 535283006: Add missing -Wno-missing-field-initializer flag to standalone.gypi. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 '-pie', 208 '-pie',
209 ], 209 ],
210 'defines': [ 210 'defines': [
211 'THREAD_SANITIZER', 211 'THREAD_SANITIZER',
212 ], 212 ],
213 }, 213 },
214 }], 214 }],
215 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 215 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
216 or OS=="netbsd"', { 216 or OS=="netbsd"', {
217 'target_defaults': { 217 'target_defaults': {
218 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 218 'cflags': [
219 '-Wno-long-long', '-pthread', '-fno-exceptions', 219 '-Wall',
220 '-pedantic' ], 220 '<(werror)',
221 '-W',
222 '-Wno-unused-parameter',
223 '-Wno-long-long',
224 '-pthread',
225 '-fno-exceptions',
226 '-pedantic',
227 # Don't warn about the "struct foo f = {0};" initialization pattern.
228 '-Wno-missing-field-initializers',
229 ],
221 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], 230 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ],
222 'ldflags': [ '-pthread', ], 231 'ldflags': [ '-pthread', ],
223 'conditions': [ 232 'conditions': [
224 [ 'visibility=="hidden" and v8_enable_backtrace==0', { 233 [ 'visibility=="hidden" and v8_enable_backtrace==0', {
225 'cflags': [ '-fvisibility=hidden' ], 234 'cflags': [ '-fvisibility=hidden' ],
226 }], 235 }],
227 [ 'component=="shared_library"', { 236 [ 'component=="shared_library"', {
228 'cflags': [ '-fPIC', ], 237 'cflags': [ '-fPIC', ],
229 }], 238 }],
230 ], 239 ],
231 }, 240 },
232 }], 241 }],
233 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" 242 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
234 # or OS=="netbsd"' 243 # or OS=="netbsd"'
235 ['OS=="qnx"', { 244 ['OS=="qnx"', {
236 'target_defaults': { 245 'target_defaults': {
237 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 246 'cflags': [
238 '-fno-exceptions' ], 247 '-Wall',
248 '<(werror)',
249 '-W',
250 '-Wno-unused-parameter',
251 '-fno-exceptions',
252 # Don't warn about the "struct foo f = {0};" initialization pattern.
253 '-Wno-missing-field-initializers',
254 ],
239 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], 255 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ],
240 'conditions': [ 256 'conditions': [
241 [ 'visibility=="hidden"', { 257 [ 'visibility=="hidden"', {
242 'cflags': [ '-fvisibility=hidden' ], 258 'cflags': [ '-fvisibility=hidden' ],
243 }], 259 }],
244 [ 'component=="shared_library"', { 260 [ 'component=="shared_library"', {
245 'cflags': [ '-fPIC' ], 261 'cflags': [ '-fPIC' ],
246 }], 262 }],
247 ], 263 ],
248 'target_conditions': [ 264 'target_conditions': [
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 'SYMROOT': '<(DEPTH)/xcodebuild', 370 'SYMROOT': '<(DEPTH)/xcodebuild',
355 'USE_HEADERMAP': 'NO', 371 'USE_HEADERMAP': 'NO',
356 'OTHER_CFLAGS': [ 372 'OTHER_CFLAGS': [
357 '-fno-strict-aliasing', 373 '-fno-strict-aliasing',
358 ], 374 ],
359 'WARNING_CFLAGS': [ 375 'WARNING_CFLAGS': [
360 '-Wall', 376 '-Wall',
361 '-Wendif-labels', 377 '-Wendif-labels',
362 '-W', 378 '-W',
363 '-Wno-unused-parameter', 379 '-Wno-unused-parameter',
380 # Don't warn about the "struct foo f = {0};" initialization pattern.
381 '-Wno-missing-field-initializers',
364 ], 382 ],
365 }, 383 },
366 'conditions': [ 384 'conditions': [
367 ['werror==""', { 385 ['werror==""', {
368 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, 386 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'},
369 }, { 387 }, {
370 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, 388 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'},
371 }], 389 }],
372 ['clang==1', { 390 ['clang==1', {
373 'xcode_settings': { 391 'xcode_settings': {
374 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 392 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
375 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x 393 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x
376 }, 394 },
377 }], 395 }],
378 ], 396 ],
379 'target_conditions': [ 397 'target_conditions': [
380 ['_type!="static_library"', { 398 ['_type!="static_library"', {
381 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 399 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
382 }], 400 }],
383 ], # target_conditions 401 ], # target_conditions
384 }, # target_defaults 402 }, # target_defaults
385 }], # OS=="mac" 403 }], # OS=="mac"
386 ], 404 ],
387 } 405 }
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