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

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

Issue 10808045: Enable -Wself-assign-memvar for Mesa, merge upstream fix for the one violation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/mesa/README.chromium ('k') | 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 }, 7 },
8 'target_defaults': { 8 'target_defaults': {
9 'conditions': [ 9 'conditions': [
10 ['OS!="win"', { 10 ['OS!="win"', {
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 ], 519 ],
520 'conditions': [ 520 'conditions': [
521 ['clang == 1', { 521 ['clang == 1', {
522 'xcode_settings': { 522 'xcode_settings': {
523 'WARNING_CFLAGS': [ 523 'WARNING_CFLAGS': [
524 # Several functions ignore the result of talloc_steal(). 524 # Several functions ignore the result of talloc_steal().
525 '-Wno-unused-value', 525 '-Wno-unused-value',
526 # texenvprogram.c converts '~0' to a bitfield, which causes clang 526 # texenvprogram.c converts '~0' to a bitfield, which causes clang
527 # to warn that -1 is implicitly converted to 255. 527 # to warn that -1 is implicitly converted to 255.
528 '-Wno-constant-conversion', 528 '-Wno-constant-conversion',
529 # https://bugs.freedesktop.org/show_bug.cgi?id=51574
530 '-Wno-self-assign-memvar',
531 ], 529 ],
532 }, 530 },
533 'cflags': [ 531 'cflags': [
534 '-Wno-unused-value', 532 '-Wno-unused-value',
535 '-Wno-constant-conversion', 533 '-Wno-constant-conversion',
536 '-Wno-self-assign-memvar',
537 ], 534 ],
538 }], 535 }],
539 ], 536 ],
540 }, 537 },
541 # Building this target will hide the native OpenGL shared library and 538 # Building this target will hide the native OpenGL shared library and
542 # replace it with a slow software renderer. 539 # replace it with a slow software renderer.
543 { 540 {
544 'target_name': 'osmesa', 541 'target_name': 'osmesa',
545 'type': 'loadable_module', 542 'type': 'loadable_module',
546 'mac_bundle': 0, 543 'mac_bundle': 0,
(...skipping 18 matching lines...) Expand all
565 'MesaLib/src/mesa/drivers/common/driverfuncs.c', 562 'MesaLib/src/mesa/drivers/common/driverfuncs.c',
566 'MesaLib/src/mesa/drivers/common/driverfuncs.h', 563 'MesaLib/src/mesa/drivers/common/driverfuncs.h',
567 'MesaLib/src/mesa/drivers/common/meta.c', 564 'MesaLib/src/mesa/drivers/common/meta.c',
568 'MesaLib/src/mesa/drivers/common/meta.h', 565 'MesaLib/src/mesa/drivers/common/meta.h',
569 'MesaLib/src/mesa/drivers/osmesa/osmesa.c', 566 'MesaLib/src/mesa/drivers/osmesa/osmesa.c',
570 'MesaLib/src/mesa/drivers/osmesa/osmesa.def', 567 'MesaLib/src/mesa/drivers/osmesa/osmesa.def',
571 ], 568 ],
572 }, 569 },
573 ], 570 ],
574 } 571 }
OLDNEW
« no previous file with comments | « third_party/mesa/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698