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