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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/plugin.gypi

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, 5 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 | « build/common.gypi ('k') | third_party/mesa/mesa.gyp » ('j') | 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 Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client 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 'chromium_code': 1, # Use higher warning level. 7 'chromium_code': 1, # Use higher warning level.
8 'common_sources': [ 8 'common_sources': [
9 'file_downloader.cc', 9 'file_downloader.cc',
10 'module_ppapi.cc', 10 'module_ppapi.cc',
(...skipping 23 matching lines...) Expand all
34 'XP_UNIX', 34 'XP_UNIX',
35 'MOZ_X11', 35 'MOZ_X11',
36 ], 36 ],
37 'cflags': [ 37 'cflags': [
38 '-Wno-long-long', 38 '-Wno-long-long',
39 ], 39 ],
40 'cflags!': [ 40 'cflags!': [
41 '-Wno-unused-parameter', # be a bit stricter to match NaCl flags. 41 '-Wno-unused-parameter', # be a bit stricter to match NaCl flags.
42 ], 42 ],
43 'conditions': [ 43 'conditions': [
44 ['asan!=1 and msan!=1', { 44 ['asan!=1 and msan!=1 and ubsan_vptr!=1', {
45 'ldflags': [ 45 'ldflags': [
46 # Catch unresolved symbols. 46 # Catch unresolved symbols.
47 '-Wl,-z,defs', 47 '-Wl,-z,defs',
48 ], 48 ],
49 }], 49 }],
50 ], 50 ],
51 'libraries': [ 51 'libraries': [
52 '-ldl', 52 '-ldl',
53 ], 53 ],
54 }], 54 }],
(...skipping 30 matching lines...) Expand all
85 'link_settings': { 85 'link_settings': {
86 'libraries': [ 86 'libraries': [
87 '-lgdi32.lib', 87 '-lgdi32.lib',
88 '-luser32.lib', 88 '-luser32.lib',
89 ], 89 ],
90 }, 90 },
91 }], 91 }],
92 ], 92 ],
93 }, 93 },
94 } 94 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | third_party/mesa/mesa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698