| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 'clang_dir%': '<(base_dir)/third_party/llvm-build/Release+Asserts', | 89 'clang_dir%': '<(base_dir)/third_party/llvm-build/Release+Asserts', |
| 90 | 90 |
| 91 'use_lto%': 0, | 91 'use_lto%': 0, |
| 92 | 92 |
| 93 # Control Flow Integrity for virtual calls and casts. | 93 # Control Flow Integrity for virtual calls and casts. |
| 94 # See http://clang.llvm.org/docs/ControlFlowIntegrity.html | 94 # See http://clang.llvm.org/docs/ControlFlowIntegrity.html |
| 95 'cfi_vptr%': 0, | 95 'cfi_vptr%': 0, |
| 96 'cfi_diag%': 0, | 96 'cfi_diag%': 0, |
| 97 | 97 |
| 98 'cfi_blacklist%': '<(base_dir)/tools/cfi/blacklist.txt', |
| 99 |
| 98 # goma settings. | 100 # goma settings. |
| 99 # 1 to use goma. | 101 # 1 to use goma. |
| 100 # If no gomadir is set, it uses the default gomadir. | 102 # If no gomadir is set, it uses the default gomadir. |
| 101 'use_goma%': 0, | 103 'use_goma%': 0, |
| 102 'gomadir%': '', | 104 'gomadir%': '', |
| 103 'conditions': [ | 105 'conditions': [ |
| 104 # Set default gomadir. | 106 # Set default gomadir. |
| 105 ['OS=="win"', { | 107 ['OS=="win"', { |
| 106 'gomadir': 'c:\\goma\\goma-win', | 108 'gomadir': 'c:\\goma\\goma-win', |
| 107 }, { | 109 }, { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 136 'asan%': '<(asan)', | 138 'asan%': '<(asan)', |
| 137 'lsan%': '<(lsan)', | 139 'lsan%': '<(lsan)', |
| 138 'msan%': '<(msan)', | 140 'msan%': '<(msan)', |
| 139 'tsan%': '<(tsan)', | 141 'tsan%': '<(tsan)', |
| 140 'sanitizer_coverage%': '<(sanitizer_coverage)', | 142 'sanitizer_coverage%': '<(sanitizer_coverage)', |
| 141 'use_custom_libcxx%': '<(use_custom_libcxx)', | 143 'use_custom_libcxx%': '<(use_custom_libcxx)', |
| 142 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', | 144 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', |
| 143 'use_lto%': '<(use_lto)', | 145 'use_lto%': '<(use_lto)', |
| 144 'cfi_vptr%': '<(cfi_vptr)', | 146 'cfi_vptr%': '<(cfi_vptr)', |
| 145 'cfi_diag%': '<(cfi_diag)', | 147 'cfi_diag%': '<(cfi_diag)', |
| 148 'cfi_blacklist%': '<(cfi_blacklist)', |
| 146 | 149 |
| 147 # Add a simple extras solely for the purpose of the cctests | 150 # Add a simple extras solely for the purpose of the cctests |
| 148 'v8_extra_library_files': ['../test/cctest/test-extra.js'], | 151 'v8_extra_library_files': ['../test/cctest/test-extra.js'], |
| 149 'v8_experimental_extra_library_files': ['../test/cctest/test-experimental-ex
tra.js'], | 152 'v8_experimental_extra_library_files': ['../test/cctest/test-experimental-ex
tra.js'], |
| 150 | 153 |
| 151 # .gyp files or targets should set v8_code to 1 if they build V8 specific | 154 # .gyp files or targets should set v8_code to 1 if they build V8 specific |
| 152 # code, as opposed to external code. This variable is used to control such | 155 # code, as opposed to external code. This variable is used to control such |
| 153 # things as the set of warnings to enable, and whether warnings are treated | 156 # things as the set of warnings to enable, and whether warnings are treated |
| 154 # as errors. | 157 # as errors. |
| 155 'v8_code%': 0, | 158 'v8_code%': 0, |
| (...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1263 }, | 1266 }, |
| 1264 }], | 1267 }], |
| 1265 ['cfi_vptr==1', { | 1268 ['cfi_vptr==1', { |
| 1266 'target_defaults': { | 1269 'target_defaults': { |
| 1267 'target_conditions': [ | 1270 'target_conditions': [ |
| 1268 ['_toolset=="target"', { | 1271 ['_toolset=="target"', { |
| 1269 'cflags': [ | 1272 'cflags': [ |
| 1270 '-fsanitize=cfi-vcall', | 1273 '-fsanitize=cfi-vcall', |
| 1271 '-fsanitize=cfi-derived-cast', | 1274 '-fsanitize=cfi-derived-cast', |
| 1272 '-fsanitize=cfi-unrelated-cast', | 1275 '-fsanitize=cfi-unrelated-cast', |
| 1276 '-fsanitize-blacklist=<(cfi_blacklist)', |
| 1273 ], | 1277 ], |
| 1274 'ldflags': [ | 1278 'ldflags': [ |
| 1275 '-fsanitize=cfi-vcall', | 1279 '-fsanitize=cfi-vcall', |
| 1276 '-fsanitize=cfi-derived-cast', | 1280 '-fsanitize=cfi-derived-cast', |
| 1277 '-fsanitize=cfi-unrelated-cast', | 1281 '-fsanitize=cfi-unrelated-cast', |
| 1278 ], | 1282 ], |
| 1279 }], | 1283 }], |
| 1280 ], | 1284 ], |
| 1281 }, | 1285 }, |
| 1282 }], | 1286 }], |
| 1283 ], | 1287 ], |
| 1284 } | 1288 } |
| OLD | NEW |