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

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

Issue 681713002: Update from chromium https://crrev.com/301315 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 | « third_party/libevent/libevent_nacl_nonsfi.gyp ('k') | third_party/modp_b64/BUILD.gn » ('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 }],
660 ], 668 ],
661 }, 669 },
662 # Building this target will hide the native OpenGL shared library and 670 # Building this target will hide the native OpenGL shared library and
663 # replace it with a slow software renderer. 671 # replace it with a slow software renderer.
664 { 672 {
665 'target_name': 'osmesa', 673 'target_name': 'osmesa',
666 'type': 'loadable_module', 674 'type': 'loadable_module',
667 'mac_bundle': 0, 675 'mac_bundle': 0,
668 'dependencies': [ 676 'dependencies': [
669 'mesa_headers', 677 'mesa_headers',
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 '<(PRODUCT_DIR)/libosmesa.so', 733 '<(PRODUCT_DIR)/libosmesa.so',
726 '<(SHARED_LIB_DIR)/libosmesa.so', 734 '<(SHARED_LIB_DIR)/libosmesa.so',
727 ], 735 ],
728 }, 736 },
729 ], 737 ],
730 }, 738 },
731 ], 739 ],
732 }], 740 }],
733 ], 741 ],
734 } 742 }
OLDNEW
« no previous file with comments | « third_party/libevent/libevent_nacl_nonsfi.gyp ('k') | third_party/modp_b64/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698