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

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

Issue 715633004: Use the experimental PBQP register allocator for UBSan builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't compile libmesa -O0 Created 6 years, 1 month 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
« no previous file with comments | « build/common.gypi ('k') | ui/gl/gl.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 'generated_src_dir': 'src/chromium_gensrc', 7 'generated_src_dir': 'src/chromium_gensrc',
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'defines': [ 10 'defines': [
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 'cflags': [ 650 'cflags': [
651 '-fno-builtin-sin', 651 '-fno-builtin-sin',
652 ], 652 ],
653 }], 653 }],
654 ['OS=="win"', { 654 ['OS=="win"', {
655 'defines': [ 655 'defines': [
656 # Because we're building as a static library 656 # Because we're building as a static library
657 '_GLAPI_NO_EXPORTS', 657 '_GLAPI_NO_EXPORTS',
658 ], 658 ],
659 }], 659 }],
660 ['ubsan==1', {
661 # Due to a bug in LLVM (http://llvm.org/bugs/show_bug.cgi?id=21349),
662 # compilation hangs for some Mesa source files. Disable -O2
663 # temporarily until http://crbug.com/426271 is fixed.
664 'cflags!': [
665 '-O2',
666 ],
667 }],
668 ], 660 ],
669 }, 661 },
670 # Building this target will hide the native OpenGL shared library and 662 # Building this target will hide the native OpenGL shared library and
671 # replace it with a slow software renderer. 663 # replace it with a slow software renderer.
672 { 664 {
673 'target_name': 'osmesa', 665 'target_name': 'osmesa',
674 'type': 'loadable_module', 666 'type': 'loadable_module',
675 'mac_bundle': 0, 667 'mac_bundle': 0,
676 'dependencies': [ 668 'dependencies': [
677 'mesa_headers', 669 'mesa_headers',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 '<(PRODUCT_DIR)/libosmesa.so', 725 '<(PRODUCT_DIR)/libosmesa.so',
734 '<(SHARED_LIB_DIR)/libosmesa.so', 726 '<(SHARED_LIB_DIR)/libosmesa.so',
735 ], 727 ],
736 }, 728 },
737 ], 729 ],
738 }, 730 },
739 ], 731 ],
740 }], 732 }],
741 ], 733 ],
742 } 734 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698