OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |