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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 # goma settings. | 107 # goma settings. |
108 # 1 to use goma. | 108 # 1 to use goma. |
109 # If no gomadir is set, it uses the default gomadir. | 109 # If no gomadir is set, it uses the default gomadir. |
110 'use_goma%': 0, | 110 'use_goma%': 0, |
111 'gomadir%': '', | 111 'gomadir%': '', |
112 | 112 |
113 # Check if valgrind directories are present. | 113 # Check if valgrind directories are present. |
114 'has_valgrind%': '<!pymod_do_main(has_valgrind)', | 114 'has_valgrind%': '<!pymod_do_main(has_valgrind)', |
115 | 115 |
| 116 'test_isolation_mode%': 'noop', |
| 117 |
116 'conditions': [ | 118 'conditions': [ |
117 # Set default gomadir. | 119 # Set default gomadir. |
118 ['OS=="win"', { | 120 ['OS=="win"', { |
119 'gomadir': 'c:\\goma\\goma-win', | 121 'gomadir': 'c:\\goma\\goma-win', |
120 }, { | 122 }, { |
121 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', | 123 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', |
122 }], | 124 }], |
123 ['host_arch!="ppc" and host_arch!="ppc64" and host_arch!="ppc64le" and h
ost_arch!="s390" and host_arch!="s390x" and \ | 125 ['host_arch!="ppc" and host_arch!="ppc64" and host_arch!="ppc64le" and h
ost_arch!="s390" and host_arch!="s390x" and \ |
124 coverage==0', { | 126 coverage==0', { |
125 'host_clang%': 1, | 127 'host_clang%': 1, |
126 }, { | 128 }, { |
127 'host_clang%': 0, | 129 'host_clang%': 0, |
128 }], | 130 }], |
129 # linux_use_bundled_gold: whether to use the gold linker binary checked | 131 # linux_use_bundled_gold: whether to use the gold linker binary checked |
130 # into third_party/binutils. Force this off via GYP_DEFINES when you | 132 # into third_party/binutils. Force this off via GYP_DEFINES when you |
131 # are using a custom toolchain and need to control -B in ldflags. | 133 # are using a custom toolchain and need to control -B in ldflags. |
132 # Do not use 32-bit gold on 32-bit hosts as it runs out address space | 134 # Do not use 32-bit gold on 32-bit hosts as it runs out address space |
133 # for component=static_library builds. | 135 # for component=static_library builds. |
134 ['(OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch=
="arm" or (target_arch=="ia32" and host_arch=="x64"))', { | 136 ['(OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch=
="arm" or (target_arch=="ia32" and host_arch=="x64"))', { |
135 'linux_use_bundled_gold%': 1, | 137 'linux_use_bundled_gold%': 1, |
136 }, { | 138 }, { |
137 'linux_use_bundled_gold%': 0, | 139 'linux_use_bundled_gold%': 0, |
138 }], | 140 }], |
139 | |
140 # TODO(machenbach): Remove the conditions as more configurations are | |
141 # supported. | |
142 ['OS=="linux" or OS=="win"', { | |
143 'test_isolation_mode%': 'check', | |
144 }, { | |
145 'test_isolation_mode%': 'noop', | |
146 }], | |
147 ], | 141 ], |
148 }, | 142 }, |
149 'base_dir%': '<(base_dir)', | 143 'base_dir%': '<(base_dir)', |
150 'clang_dir%': '<(clang_dir)', | 144 'clang_dir%': '<(clang_dir)', |
151 'host_arch%': '<(host_arch)', | 145 'host_arch%': '<(host_arch)', |
152 'host_clang%': '<(host_clang)', | 146 'host_clang%': '<(host_clang)', |
153 'target_arch%': '<(target_arch)', | 147 'target_arch%': '<(target_arch)', |
154 'v8_target_arch%': '<(v8_target_arch)', | 148 'v8_target_arch%': '<(v8_target_arch)', |
155 'werror%': '-Werror', | 149 'werror%': '-Werror', |
156 'use_goma%': '<(use_goma)', | 150 'use_goma%': '<(use_goma)', |
(...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 '-fsanitize=cfi-vcall', | 1385 '-fsanitize=cfi-vcall', |
1392 '-fsanitize=cfi-derived-cast', | 1386 '-fsanitize=cfi-derived-cast', |
1393 '-fsanitize=cfi-unrelated-cast', | 1387 '-fsanitize=cfi-unrelated-cast', |
1394 ], | 1388 ], |
1395 }], | 1389 }], |
1396 ], | 1390 ], |
1397 }, | 1391 }, |
1398 }], | 1392 }], |
1399 ], | 1393 ], |
1400 } | 1394 } |
OLD | NEW |