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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 'Debug_x64': { | 399 'Debug_x64': { |
400 'inherit_from': ['Debug'], | 400 'inherit_from': ['Debug'], |
401 }, | 401 }, |
402 'Release_x64': { | 402 'Release_x64': { |
403 'inherit_from': ['Release'], | 403 'inherit_from': ['Release'], |
404 }, | 404 }, |
405 }], | 405 }], |
406 ], | 406 ], |
407 }, | 407 }, |
408 'conditions':[ | 408 'conditions':[ |
| 409 ['clang==0', { |
| 410 'cflags+': ['-Wno-sign-compare',], |
| 411 }], |
409 ['(clang==1 or host_clang==1) and OS!="win"', { | 412 ['(clang==1 or host_clang==1) and OS!="win"', { |
410 # This is here so that all files get recompiled after a clang roll and | 413 # This is here so that all files get recompiled after a clang roll and |
411 # when turning clang on or off. | 414 # when turning clang on or off. |
412 # (defines are passed via the command line, and build systems rebuild | 415 # (defines are passed via the command line, and build systems rebuild |
413 # things when their commandline changes). Nothing should ever read this | 416 # things when their commandline changes). Nothing should ever read this |
414 # define. | 417 # define. |
415 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh
--print-revision)'], | 418 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh
--print-revision)'], |
416 'conditions': [ | 419 'conditions': [ |
417 ['host_clang==1', { | 420 ['host_clang==1', { |
418 'target_conditions': [ | 421 'target_conditions': [ |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 '-fsanitize=cfi-vcall', | 1336 '-fsanitize=cfi-vcall', |
1334 '-fsanitize=cfi-derived-cast', | 1337 '-fsanitize=cfi-derived-cast', |
1335 '-fsanitize=cfi-unrelated-cast', | 1338 '-fsanitize=cfi-unrelated-cast', |
1336 ], | 1339 ], |
1337 }], | 1340 }], |
1338 ], | 1341 ], |
1339 }, | 1342 }, |
1340 }], | 1343 }], |
1341 ], | 1344 ], |
1342 } | 1345 } |
OLD | NEW |