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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 # Set to 1 to enable fast builds. | 103 # Set to 1 to enable fast builds. |
104 # TODO(machenbach): Only configured for windows. | 104 # TODO(machenbach): Only configured for windows. |
105 'fastbuild%': 0, | 105 'fastbuild%': 0, |
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. |
| 114 'has_valgrind%': '<!pymod_do_main(has_valgrind)', |
| 115 |
113 'conditions': [ | 116 'conditions': [ |
114 # Set default gomadir. | 117 # Set default gomadir. |
115 ['OS=="win"', { | 118 ['OS=="win"', { |
116 'gomadir': 'c:\\goma\\goma-win', | 119 'gomadir': 'c:\\goma\\goma-win', |
117 }, { | 120 }, { |
118 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', | 121 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', |
119 }], | 122 }], |
120 ['host_arch!="ppc" and host_arch!="ppc64" and host_arch!="ppc64le" and h
ost_arch!="s390" and host_arch!="s390x" and \ | 123 ['host_arch!="ppc" and host_arch!="ppc64" and host_arch!="ppc64le" and h
ost_arch!="s390" and host_arch!="s390x" and \ |
121 coverage==0', { | 124 coverage==0', { |
122 'host_clang%': 1, | 125 'host_clang%': 1, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 'sanitizer_coverage%': '<(sanitizer_coverage)', | 162 'sanitizer_coverage%': '<(sanitizer_coverage)', |
160 'use_custom_libcxx%': '<(use_custom_libcxx)', | 163 'use_custom_libcxx%': '<(use_custom_libcxx)', |
161 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', | 164 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', |
162 'use_lto%': '<(use_lto)', | 165 'use_lto%': '<(use_lto)', |
163 'cfi_vptr%': '<(cfi_vptr)', | 166 'cfi_vptr%': '<(cfi_vptr)', |
164 'cfi_diag%': '<(cfi_diag)', | 167 'cfi_diag%': '<(cfi_diag)', |
165 'cfi_blacklist%': '<(cfi_blacklist)', | 168 'cfi_blacklist%': '<(cfi_blacklist)', |
166 'test_isolation_mode%': '<(test_isolation_mode)', | 169 'test_isolation_mode%': '<(test_isolation_mode)', |
167 'fastbuild%': '<(fastbuild)', | 170 'fastbuild%': '<(fastbuild)', |
168 'coverage%': '<(coverage)', | 171 'coverage%': '<(coverage)', |
| 172 'has_valgrind%': '<(has_valgrind)', |
169 | 173 |
170 # Add a simple extras solely for the purpose of the cctests | 174 # Add a simple extras solely for the purpose of the cctests |
171 'v8_extra_library_files': ['../test/cctest/test-extra.js'], | 175 'v8_extra_library_files': ['../test/cctest/test-extra.js'], |
172 'v8_experimental_extra_library_files': ['../test/cctest/test-experimental-ex
tra.js'], | 176 'v8_experimental_extra_library_files': ['../test/cctest/test-experimental-ex
tra.js'], |
173 | 177 |
174 # .gyp files or targets should set v8_code to 1 if they build V8 specific | 178 # .gyp files or targets should set v8_code to 1 if they build V8 specific |
175 # code, as opposed to external code. This variable is used to control such | 179 # code, as opposed to external code. This variable is used to control such |
176 # things as the set of warnings to enable, and whether warnings are treated | 180 # things as the set of warnings to enable, and whether warnings are treated |
177 # as errors. | 181 # as errors. |
178 'v8_code%': 0, | 182 'v8_code%': 0, |
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1360 '-fsanitize=cfi-vcall', | 1364 '-fsanitize=cfi-vcall', |
1361 '-fsanitize=cfi-derived-cast', | 1365 '-fsanitize=cfi-derived-cast', |
1362 '-fsanitize=cfi-unrelated-cast', | 1366 '-fsanitize=cfi-unrelated-cast', |
1363 ], | 1367 ], |
1364 }], | 1368 }], |
1365 ], | 1369 ], |
1366 }, | 1370 }, |
1367 }], | 1371 }], |
1368 ], | 1372 ], |
1369 } | 1373 } |
OLD | NEW |