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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 'v8_enable_backtrace%': 0, | 42 'v8_enable_backtrace%': 0, |
43 'v8_enable_i18n_support%': 1, | 43 'v8_enable_i18n_support%': 1, |
44 'v8_deprecation_warnings': 1, | 44 'v8_deprecation_warnings': 1, |
45 'v8_imminent_deprecation_warnings': 1, | 45 'v8_imminent_deprecation_warnings': 1, |
46 'msvs_multi_core_compile%': '1', | 46 'msvs_multi_core_compile%': '1', |
47 'mac_deployment_target%': '10.7', | 47 'mac_deployment_target%': '10.7', |
48 'release_extra_cflags%': '', | 48 'release_extra_cflags%': '', |
49 'variables': { | 49 'variables': { |
50 'variables': { | 50 'variables': { |
51 'variables': { | 51 'variables': { |
52 'conditions': [ | 52 'variables': { |
Michael Achenbach
2016/06/06 09:07:26
We have to go deeper...
| |
53 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ | 53 'conditions': [ |
54 OS=="netbsd" or OS=="mac" or OS=="qnx" or OS=="aix"', { | 54 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ |
55 # This handles the Unix platforms we generally deal with. | 55 OS=="netbsd" or OS=="mac" or OS=="qnx" or OS=="aix"', { |
56 # Anything else gets passed through, which probably won't work | 56 # This handles the Unix platforms we generally deal with. |
57 # very well; such hosts should pass an explicit target_arch | 57 # Anything else gets passed through, which probably won't work |
58 # to gyp. | 58 # very well; such hosts should pass an explicit target_arch |
59 'host_arch%': '<!pymod_do_main(detect_v8_host_arch)', | 59 # to gyp. |
60 }, { | 60 'host_arch%': '<!pymod_do_main(detect_v8_host_arch)', |
61 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and | 61 }, { |
62 # OS!="netbsd" and OS!="mac" and OS!="aix" | 62 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and |
63 'host_arch%': 'ia32', | 63 # OS!="netbsd" and OS!="mac" and OS!="aix" |
64 }], | 64 'host_arch%': 'ia32', |
65 ], | 65 }], |
66 ], | |
67 }, | |
68 'host_arch%': '<(host_arch)', | |
69 'target_arch%': '<(host_arch)', | |
66 | 70 |
67 # By default we build against a stable sysroot image to avoid | 71 # By default we build against a stable sysroot image to avoid |
68 # depending on the packages installed on the local machine. Set this | 72 # depending on the packages installed on the local machine. Set this |
69 # to 0 to build against locally installed headers and libraries (e.g. | 73 # to 0 to build against locally installed headers and libraries (e.g. |
70 # if packaging for a linux distro) | 74 # if packaging for a linux distro) |
71 'use_sysroot%': 1, | 75 'use_sysroot%': 1, |
72 }, | 76 }, |
73 'host_arch%': '<(host_arch)', | 77 'host_arch%': '<(host_arch)', |
74 'target_arch%': '<(host_arch)', | 78 'target_arch%': '<(target_arch)', |
75 'use_sysroot%': '<(use_sysroot)', | 79 'use_sysroot%': '<(use_sysroot)', |
76 'base_dir%': '<!(cd <(DEPTH) && python -c "import os; print os.getcwd()" )', | 80 'base_dir%': '<!(cd <(DEPTH) && python -c "import os; print os.getcwd()" )', |
77 | 81 |
78 # Instrument for code coverage and use coverage wrapper to exclude some | 82 # Instrument for code coverage and use coverage wrapper to exclude some |
79 # files. Uses gcov if clang=0 is set explicitly. Otherwise, | 83 # files. Uses gcov if clang=0 is set explicitly. Otherwise, |
80 # sanitizer_coverage must be set too. | 84 # sanitizer_coverage must be set too. |
81 'coverage%': 0, | 85 'coverage%': 0, |
82 | 86 |
83 # Default sysroot if no sysroot can be provided. | 87 # Default sysroot if no sysroot can be provided. |
84 'sysroot%': '', | 88 'sysroot%': '', |
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1467 '-fsanitize=cfi-vcall', | 1471 '-fsanitize=cfi-vcall', |
1468 '-fsanitize=cfi-derived-cast', | 1472 '-fsanitize=cfi-derived-cast', |
1469 '-fsanitize=cfi-unrelated-cast', | 1473 '-fsanitize=cfi-unrelated-cast', |
1470 ], | 1474 ], |
1471 }], | 1475 }], |
1472 ], | 1476 ], |
1473 }, | 1477 }, |
1474 }], | 1478 }], |
1475 ], | 1479 ], |
1476 } | 1480 } |
OLD | NEW |