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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 ['clang==0', { | 438 ['clang==0', { |
439 'cflags+': ['-Wno-sign-compare',], | 439 'cflags+': ['-Wno-sign-compare',], |
440 }], | 440 }], |
441 ['clang==1 or host_clang==1', { | 441 ['clang==1 or host_clang==1', { |
442 # This is here so that all files get recompiled after a clang roll and | 442 # This is here so that all files get recompiled after a clang roll and |
443 # when turning clang on or off. | 443 # when turning clang on or off. |
444 # (defines are passed via the command line, and build systems rebuild | 444 # (defines are passed via the command line, and build systems rebuild |
445 # things when their commandline changes). Nothing should ever read this | 445 # things when their commandline changes). Nothing should ever read this |
446 # define. | 446 # define. |
447 'defines': ['CR_CLANG_REVISION=<!(python <(DEPTH)/tools/clang/scripts/up
date.py --print-revision)'], | 447 'defines': ['CR_CLANG_REVISION=<!(python <(DEPTH)/tools/clang/scripts/up
date.py --print-revision)'], |
448 'conditions': [ | |
449 ['host_clang==1', { | |
450 'target_conditions': [ | |
451 ['_toolset=="host"', { | |
452 'cflags+': [ | |
453 '-Wno-format-pedantic', | |
454 ], | |
455 }], | |
456 ], | |
457 }], | |
458 ['clang==1', { | |
459 'target_conditions': [ | |
460 ['_toolset=="target"', { | |
461 'cflags+': [ | |
462 '-Wno-format-pedantic', | |
463 ], | |
464 }], | |
465 ], | |
466 }], | |
467 ], | |
468 }], | 448 }], |
469 ['clang==1 and target_arch=="ia32"', { | 449 ['clang==1 and target_arch=="ia32"', { |
470 'cflags': ['-mstack-alignment=16', '-mstackrealign'], | 450 'cflags': ['-mstack-alignment=16', '-mstackrealign'], |
471 }], | 451 }], |
472 ['fastbuild!=0', { | 452 ['fastbuild!=0', { |
473 'conditions': [ | 453 'conditions': [ |
474 ['OS=="win" and fastbuild==1', { | 454 ['OS=="win" and fastbuild==1', { |
475 'msvs_settings': { | 455 'msvs_settings': { |
476 'VCLinkerTool': { | 456 'VCLinkerTool': { |
477 # This tells the linker to generate .pdbs, so that | 457 # This tells the linker to generate .pdbs, so that |
(...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1451 '-fsanitize=cfi-vcall', | 1431 '-fsanitize=cfi-vcall', |
1452 '-fsanitize=cfi-derived-cast', | 1432 '-fsanitize=cfi-derived-cast', |
1453 '-fsanitize=cfi-unrelated-cast', | 1433 '-fsanitize=cfi-unrelated-cast', |
1454 ], | 1434 ], |
1455 }], | 1435 }], |
1456 ], | 1436 ], |
1457 }, | 1437 }, |
1458 }], | 1438 }], |
1459 ], | 1439 ], |
1460 } | 1440 } |
OLD | NEW |