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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 # linux_use_bundled_gold: whether to use the gold linker binary checked | 117 # linux_use_bundled_gold: whether to use the gold linker binary checked |
118 # into third_party/binutils. Force this off via GYP_DEFINES when you | 118 # into third_party/binutils. Force this off via GYP_DEFINES when you |
119 # are using a custom toolchain and need to control -B in ldflags. | 119 # are using a custom toolchain and need to control -B in ldflags. |
120 # Do not use 32-bit gold on 32-bit hosts as it runs out address space | 120 # Do not use 32-bit gold on 32-bit hosts as it runs out address space |
121 # for component=static_library builds. | 121 # for component=static_library builds. |
122 ['(OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch=
="arm" or (target_arch=="ia32" and host_arch=="x64"))', { | 122 ['(OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch=
="arm" or (target_arch=="ia32" and host_arch=="x64"))', { |
123 'linux_use_bundled_gold%': 1, | 123 'linux_use_bundled_gold%': 1, |
124 }, { | 124 }, { |
125 'linux_use_bundled_gold%': 0, | 125 'linux_use_bundled_gold%': 0, |
126 }], | 126 }], |
| 127 |
| 128 # TODO(machenbach): Remove the conditions as more configurations are |
| 129 # supported. |
| 130 ['OS=="linux"', { |
| 131 'test_isolation_mode%': 'check', |
| 132 }, { |
| 133 'test_isolation_mode%': 'noop', |
| 134 }], |
127 ], | 135 ], |
128 }, | 136 }, |
129 'base_dir%': '<(base_dir)', | 137 'base_dir%': '<(base_dir)', |
130 'clang_dir%': '<(clang_dir)', | 138 'clang_dir%': '<(clang_dir)', |
131 'host_arch%': '<(host_arch)', | 139 'host_arch%': '<(host_arch)', |
132 'host_clang%': '<(host_clang)', | 140 'host_clang%': '<(host_clang)', |
133 'target_arch%': '<(target_arch)', | 141 'target_arch%': '<(target_arch)', |
134 'v8_target_arch%': '<(v8_target_arch)', | 142 'v8_target_arch%': '<(v8_target_arch)', |
135 'werror%': '-Werror', | 143 'werror%': '-Werror', |
136 'use_goma%': '<(use_goma)', | 144 'use_goma%': '<(use_goma)', |
137 'gomadir%': '<(gomadir)', | 145 'gomadir%': '<(gomadir)', |
138 'asan%': '<(asan)', | 146 'asan%': '<(asan)', |
139 'lsan%': '<(lsan)', | 147 'lsan%': '<(lsan)', |
140 'msan%': '<(msan)', | 148 'msan%': '<(msan)', |
141 'tsan%': '<(tsan)', | 149 'tsan%': '<(tsan)', |
142 'sanitizer_coverage%': '<(sanitizer_coverage)', | 150 'sanitizer_coverage%': '<(sanitizer_coverage)', |
143 'use_custom_libcxx%': '<(use_custom_libcxx)', | 151 'use_custom_libcxx%': '<(use_custom_libcxx)', |
144 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', | 152 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', |
145 'use_lto%': '<(use_lto)', | 153 'use_lto%': '<(use_lto)', |
146 'cfi_vptr%': '<(cfi_vptr)', | 154 'cfi_vptr%': '<(cfi_vptr)', |
147 'cfi_diag%': '<(cfi_diag)', | 155 'cfi_diag%': '<(cfi_diag)', |
148 'cfi_blacklist%': '<(cfi_blacklist)', | 156 'cfi_blacklist%': '<(cfi_blacklist)', |
| 157 'test_isolation_mode%': '<(test_isolation_mode)', |
149 | 158 |
150 # Add a simple extras solely for the purpose of the cctests | 159 # Add a simple extras solely for the purpose of the cctests |
151 'v8_extra_library_files': ['../test/cctest/test-extra.js'], | 160 'v8_extra_library_files': ['../test/cctest/test-extra.js'], |
152 'v8_experimental_extra_library_files': ['../test/cctest/test-experimental-ex
tra.js'], | 161 'v8_experimental_extra_library_files': ['../test/cctest/test-experimental-ex
tra.js'], |
153 | 162 |
154 # .gyp files or targets should set v8_code to 1 if they build V8 specific | 163 # .gyp files or targets should set v8_code to 1 if they build V8 specific |
155 # code, as opposed to external code. This variable is used to control such | 164 # code, as opposed to external code. This variable is used to control such |
156 # things as the set of warnings to enable, and whether warnings are treated | 165 # things as the set of warnings to enable, and whether warnings are treated |
157 # as errors. | 166 # as errors. |
158 'v8_code%': 0, | 167 'v8_code%': 0, |
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1279 '-fsanitize=cfi-vcall', | 1288 '-fsanitize=cfi-vcall', |
1280 '-fsanitize=cfi-derived-cast', | 1289 '-fsanitize=cfi-derived-cast', |
1281 '-fsanitize=cfi-unrelated-cast', | 1290 '-fsanitize=cfi-unrelated-cast', |
1282 ], | 1291 ], |
1283 }], | 1292 }], |
1284 ], | 1293 ], |
1285 }, | 1294 }, |
1286 }], | 1295 }], |
1287 ], | 1296 ], |
1288 } | 1297 } |
OLD | NEW |