| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 ], | 225 ], |
| 226 'ldflags': [ | 226 'ldflags': [ |
| 227 '-fsanitize=thread', | 227 '-fsanitize=thread', |
| 228 '-pie', | 228 '-pie', |
| 229 ], | 229 ], |
| 230 'defines': [ | 230 'defines': [ |
| 231 'THREAD_SANITIZER', | 231 'THREAD_SANITIZER', |
| 232 ], | 232 ], |
| 233 }, | 233 }, |
| 234 }], | 234 }], |
| 235 ['clang==1', { |
| 236 'target_defaults': { |
| 237 # Remove once issue 3753 is fixed. |
| 238 'cflags_cc': [ '-Wno-inconsistent-missing-override', |
| 239 '-Wno-unknown-warning-option', ], |
| 240 }, |
| 241 }], |
| 235 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 242 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 236 or OS=="netbsd"', { | 243 or OS=="netbsd"', { |
| 237 'target_defaults': { | 244 'target_defaults': { |
| 238 'cflags': [ | 245 'cflags': [ |
| 239 '-Wall', | 246 '-Wall', |
| 240 '<(werror)', | 247 '<(werror)', |
| 241 '-W', | 248 '-W', |
| 242 '-Wno-unused-parameter', | 249 '-Wno-unused-parameter', |
| 243 '-Wno-long-long', | 250 '-Wno-long-long', |
| 244 '-pthread', | 251 '-pthread', |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 ], | 451 ], |
| 445 }], | 452 }], |
| 446 ['clang==1 and OS=="win"', { | 453 ['clang==1 and OS=="win"', { |
| 447 'make_global_settings': [ | 454 'make_global_settings': [ |
| 448 # On Windows, gyp's ninja generator only looks at CC. | 455 # On Windows, gyp's ninja generator only looks at CC. |
| 449 ['CC', '<(make_clang_dir)/bin/clang-cl'], | 456 ['CC', '<(make_clang_dir)/bin/clang-cl'], |
| 450 ], | 457 ], |
| 451 }], | 458 }], |
| 452 ], | 459 ], |
| 453 } | 460 } |
| OLD | NEW |