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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 'cflags': [ | 73 'cflags': [ |
74 '-fPIC', | 74 '-fPIC', |
75 ], | 75 ], |
76 }], | 76 }], |
77 ['ubsan_vptr == 1', { | 77 ['ubsan_vptr == 1', { |
78 'cflags!': [ | 78 'cflags!': [ |
79 # UBsan's vptr is not compatible with -fno-rtti, | 79 # UBsan's vptr is not compatible with -fno-rtti, |
80 # which is used by gallium/auxiliary/Makefile. | 80 # which is used by gallium/auxiliary/Makefile. |
81 '-fsanitize=null', | 81 '-fsanitize=null', |
82 '-fsanitize=vptr', | 82 '-fsanitize=vptr', |
| 83 '-fsanitize-coverage=<(sanitizer_coverage)', |
83 ], | 84 ], |
84 }], | 85 }], |
85 ], | 86 ], |
86 }, | 87 }, |
87 'targets': [ | 88 'targets': [ |
88 { | 89 { |
89 'target_name': 'mesa_headers', | 90 'target_name': 'mesa_headers', |
90 'type': 'none', | 91 'type': 'none', |
91 'direct_dependent_settings': { | 92 'direct_dependent_settings': { |
92 'include_dirs': [ | 93 'include_dirs': [ |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 '<(PRODUCT_DIR)/libosmesa.so', | 741 '<(PRODUCT_DIR)/libosmesa.so', |
741 '<(SHARED_LIB_DIR)/libosmesa.so', | 742 '<(SHARED_LIB_DIR)/libosmesa.so', |
742 ], | 743 ], |
743 }, | 744 }, |
744 ], | 745 ], |
745 }, | 746 }, |
746 ], | 747 ], |
747 }], | 748 }], |
748 ], | 749 ], |
749 } | 750 } |
OLD | NEW |