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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 [ 'host_arch=="ppc64" and OS!="aix"', { | 727 [ 'host_arch=="ppc64" and OS!="aix"', { |
728 'cflags': [ '-mminimal-toc' ], | 728 'cflags': [ '-mminimal-toc' ], |
729 }], | 729 }], |
730 [ 'visibility=="hidden" and v8_enable_backtrace==0', { | 730 [ 'visibility=="hidden" and v8_enable_backtrace==0', { |
731 'cflags': [ '-fvisibility=hidden' ], | 731 'cflags': [ '-fvisibility=hidden' ], |
732 }], | 732 }], |
733 [ 'component=="shared_library"', { | 733 [ 'component=="shared_library"', { |
734 'cflags': [ '-fPIC', ], | 734 'cflags': [ '-fPIC', ], |
735 }], | 735 }], |
736 [ 'coverage==1', { | 736 [ 'coverage==1', { |
737 'cflags!': [ '-O3', '-O2', '-O1', ], | 737 'cflags': [ '-fprofile-arcs', '-ftest-coverage'], |
738 'cflags': [ '-fprofile-arcs', '-ftest-coverage', '-O0'], | |
739 'ldflags': [ '-fprofile-arcs'], | 738 'ldflags': [ '-fprofile-arcs'], |
740 }], | 739 }], |
741 ], | 740 ], |
742 }, | 741 }, |
743 }], | 742 }], |
744 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" | 743 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" |
745 # or OS=="netbsd"' | 744 # or OS=="netbsd"' |
746 ['OS=="qnx"', { | 745 ['OS=="qnx"', { |
747 'target_defaults': { | 746 'target_defaults': { |
748 'cflags': [ | 747 'cflags': [ |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1367 '-fsanitize=cfi-vcall', | 1366 '-fsanitize=cfi-vcall', |
1368 '-fsanitize=cfi-derived-cast', | 1367 '-fsanitize=cfi-derived-cast', |
1369 '-fsanitize=cfi-unrelated-cast', | 1368 '-fsanitize=cfi-unrelated-cast', |
1370 ], | 1369 ], |
1371 }], | 1370 }], |
1372 ], | 1371 ], |
1373 }, | 1372 }, |
1374 }], | 1373 }], |
1375 ], | 1374 ], |
1376 } | 1375 } |
OLD | NEW |