OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |