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

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

Issue 357753002: Add preliminary support for UBsan's vptr in Chromium (-fsanitize=vptr). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved the review by earthdok. 1) Do not replace allocator, and 2) Do not turn off plugin. Created 6 years, 6 months 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 | « ppapi/native_client/src/trusted/plugin/plugin.gypi ('k') | no next file » | 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698