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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 ['os_posix == 1 and OS != "android"', { | 67 ['os_posix == 1 and OS != "android"', { |
68 'defines': [ | 68 'defines': [ |
69 'HAVE_POSIX_MEMALIGN', | 69 'HAVE_POSIX_MEMALIGN', |
70 ], | 70 ], |
71 }], | 71 }], |
72 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 72 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
73 'cflags': [ | 73 'cflags': [ |
74 '-fPIC', | 74 '-fPIC', |
75 ], | 75 ], |
76 }], | 76 }], |
| 77 ['ubsan_vptr == 1', { |
| 78 'cflags!': [ |
| 79 # UBsan's vptr is not compatible with -fno-rtti, |
| 80 # which is used by gallium/auxiliary/Makefile. |
| 81 '-fsanitize=null', |
| 82 '-fsanitize=vptr', |
| 83 ], |
| 84 }], |
77 ], | 85 ], |
78 }, | 86 }, |
79 'targets': [ | 87 'targets': [ |
80 { | 88 { |
81 'target_name': 'mesa_headers', | 89 'target_name': 'mesa_headers', |
82 'type': 'none', | 90 'type': 'none', |
83 'direct_dependent_settings': { | 91 'direct_dependent_settings': { |
84 'include_dirs': [ | 92 'include_dirs': [ |
85 'src/include', | 93 'src/include', |
86 ], | 94 ], |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 '<(PRODUCT_DIR)/libosmesa.so', | 830 '<(PRODUCT_DIR)/libosmesa.so', |
823 '<(SHARED_LIB_DIR)/libosmesa.so', | 831 '<(SHARED_LIB_DIR)/libosmesa.so', |
824 ], | 832 ], |
825 }, | 833 }, |
826 ], | 834 ], |
827 }, | 835 }, |
828 ], | 836 ], |
829 }], | 837 }], |
830 ], | 838 ], |
831 } | 839 } |
OLD | NEW |