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

Side by Side Diff: gyp/sfntly.gyp

Issue 1509733003: Disable sanitizers with a blacklist. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: put yasm stuff back Created 5 years 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 | « gyp/common_variables.gypi ('k') | tools/xsan.blacklist » ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'targets': [ 5 'targets': [
6 { 6 {
7 'target_name': 'sfntly', 7 'target_name': 'sfntly',
8 'type': 'static_library', 8 'type': 'static_library',
9 'includes': [ 9 'includes': [
10 'common_conditions.gypi', 10 'common_conditions.gypi',
(...skipping 15 matching lines...) Expand all
26 ], 26 ],
27 'include_dirs': [ 27 'include_dirs': [
28 '<(sfntly_src_path)', 28 '<(sfntly_src_path)',
29 ], 29 ],
30 'defines': [ 30 'defines': [
31 'SFNTLY_NO_EXCEPTION', 31 'SFNTLY_NO_EXCEPTION',
32 ], 32 ],
33 'dependencies' : [ 33 'dependencies' : [
34 'icu.gyp:icuuc', 34 'icu.gyp:icuuc',
35 ], 35 ],
36 # Disable any sanitizers we might be using.
37 'ldflags!': [ '-fsanitize=<(skia_sanitizer)' ],
38 'cflags!': [ '-fsanitize=<(skia_sanitizer)' ],
39 'conditions': [ 36 'conditions': [
40 [ 'skia_os == "win"', 37 [ 'skia_os == "win"',
41 { 38 {
42 'defines': [ 'WIN32', ], 39 'defines': [ 'WIN32', ],
43 'msvs_settings': { 40 'msvs_settings': {
44 'VCCLCompilerTool': { 41 'VCCLCompilerTool': {
45 'AdditionalOptions': [ '/EHsc' ], 42 'AdditionalOptions': [ '/EHsc' ],
46 }, 43 },
47 }, 44 },
48 } 45 }
49 ], 46 ],
50 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', 47 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]',
51 { 'link_settings': { 'libraries': [ '-lpthread', ], }, }, 48 { 'link_settings': { 'libraries': [ '-lpthread', ], }, },
52 ], 49 ],
53 ], 50 ],
54 # TODO(jschuh): http://crbug.com/167187 51 # TODO(jschuh): http://crbug.com/167187
55 'msvs_disabled_warnings': [ 4267, 4244 ], 52 'msvs_disabled_warnings': [ 4267, 4244 ],
56 }, 53 },
57 ] 54 ]
58 } 55 }
OLDNEW
« no previous file with comments | « gyp/common_variables.gypi ('k') | tools/xsan.blacklist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698