OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 ], | 231 ], |
232 'ldflags': [ | 232 'ldflags': [ |
233 '-fsanitize=thread', | 233 '-fsanitize=thread', |
234 '-pie', | 234 '-pie', |
235 ], | 235 ], |
236 'defines': [ | 236 'defines': [ |
237 'THREAD_SANITIZER', | 237 'THREAD_SANITIZER', |
238 ], | 238 ], |
239 }, | 239 }, |
240 }], | 240 }], |
241 ['clang==1', { | |
242 'target_defaults': { | |
243 # Remove once issue 3753 is fixed. | |
244 'cflags_cc': [ '-Wno-inconsistent-missing-override', | |
245 '-Wno-unknown-warning-option', ], | |
246 }, | |
247 }], | |
248 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 241 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
249 or OS=="netbsd"', { | 242 or OS=="netbsd"', { |
250 'target_defaults': { | 243 'target_defaults': { |
251 'cflags': [ | 244 'cflags': [ |
252 '-Wall', | 245 '-Wall', |
253 '<(werror)', | 246 '<(werror)', |
254 '-W', | 247 '-W', |
255 '-Wno-unused-parameter', | 248 '-Wno-unused-parameter', |
256 '-Wno-long-long', | 249 '-Wno-long-long', |
257 '-pthread', | 250 '-pthread', |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 ], | 450 ], |
458 }], | 451 }], |
459 ['clang==1 and OS=="win"', { | 452 ['clang==1 and OS=="win"', { |
460 'make_global_settings': [ | 453 'make_global_settings': [ |
461 # On Windows, gyp's ninja generator only looks at CC. | 454 # On Windows, gyp's ninja generator only looks at CC. |
462 ['CC', '<(make_clang_dir)/bin/clang-cl'], | 455 ['CC', '<(make_clang_dir)/bin/clang-cl'], |
463 ], | 456 ], |
464 }], | 457 }], |
465 ], | 458 ], |
466 } | 459 } |
OLD | NEW |