Chromium Code Reviews| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 114 'coverage%': '<(coverage)', | 114 'coverage%': '<(coverage)', |
| 115 'sysroot%': '<(sysroot)', | 115 'sysroot%': '<(sysroot)', |
| 116 'asan%': 0, | 116 'asan%': 0, |
| 117 'lsan%': 0, | 117 'lsan%': 0, |
| 118 'msan%': 0, | 118 'msan%': 0, |
| 119 'tsan%': 0, | 119 'tsan%': 0, |
| 120 # Enable coverage gathering instrumentation in sanitizer tools. This flag | 120 # Enable coverage gathering instrumentation in sanitizer tools. This flag |
| 121 # also controls coverage granularity (1 for function-level, 2 for | 121 # also controls coverage granularity (1 for function-level, 2 for |
| 122 # block-level, 3 for edge-level). | 122 # block-level, 3 for edge-level). |
| 123 'sanitizer_coverage%': 0, | 123 'sanitizer_coverage%': 0, |
| 124 | |
| 125 # Use dynamic libraries instrumented by one of the sanitizers | |
| 126 # instead of the standard system libraries. Set this flag to download | |
| 127 # prebuilt binaries from GCS. | |
| 128 'use_prebuilt_instrumented_libraries%': 0, | |
| 129 | |
| 124 # Use libc++ (buildtools/third_party/libc++ and | 130 # Use libc++ (buildtools/third_party/libc++ and |
| 125 # buildtools/third_party/libc++abi) instead of stdlibc++ as standard | 131 # buildtools/third_party/libc++abi) instead of stdlibc++ as standard |
| 126 # library. This is intended to be used for instrumented builds. | 132 # library. This is intended to be used for instrumented builds. |
| 127 'use_custom_libcxx%': 0, | 133 'use_custom_libcxx%': 0, |
| 128 | 134 |
| 129 'clang_dir%': '<(base_dir)/third_party/llvm-build/Release+Asserts', | 135 'clang_dir%': '<(base_dir)/third_party/llvm-build/Release+Asserts', |
| 136 'make_clang_dir%': '<(base_dir)/third_party/llvm-build/Release+Asserts', | |
|
Michael Achenbach
2016/08/01 09:31:53
For compatibility with the gyp files in prebuilt_l
| |
| 130 | 137 |
| 131 'use_lto%': 0, | 138 'use_lto%': 0, |
| 132 | 139 |
| 133 # Control Flow Integrity for virtual calls and casts. | 140 # Control Flow Integrity for virtual calls and casts. |
| 134 # See http://clang.llvm.org/docs/ControlFlowIntegrity.html | 141 # See http://clang.llvm.org/docs/ControlFlowIntegrity.html |
| 135 'cfi_vptr%': 0, | 142 'cfi_vptr%': 0, |
| 136 'cfi_diag%': 0, | 143 'cfi_diag%': 0, |
| 137 | 144 |
| 138 'cfi_blacklist%': '<(base_dir)/tools/cfi/blacklist.txt', | 145 'cfi_blacklist%': '<(base_dir)/tools/cfi/blacklist.txt', |
| 139 | 146 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 171 # for component=static_library builds. | 178 # for component=static_library builds. |
| 172 ['((OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch =="arm" or (target_arch=="ia32" and host_arch=="x64"))) or (OS=="linux" and targ et_arch=="mipsel")', { | 179 ['((OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch =="arm" or (target_arch=="ia32" and host_arch=="x64"))) or (OS=="linux" and targ et_arch=="mipsel")', { |
| 173 'linux_use_bundled_gold%': 1, | 180 'linux_use_bundled_gold%': 1, |
| 174 }, { | 181 }, { |
| 175 'linux_use_bundled_gold%': 0, | 182 'linux_use_bundled_gold%': 0, |
| 176 }], | 183 }], |
| 177 ], | 184 ], |
| 178 }, | 185 }, |
| 179 'base_dir%': '<(base_dir)', | 186 'base_dir%': '<(base_dir)', |
| 180 'clang_dir%': '<(clang_dir)', | 187 'clang_dir%': '<(clang_dir)', |
| 188 'make_clang_dir%': '<(make_clang_dir)', | |
| 181 'host_arch%': '<(host_arch)', | 189 'host_arch%': '<(host_arch)', |
| 182 'host_clang%': '<(host_clang)', | 190 'host_clang%': '<(host_clang)', |
| 183 'target_arch%': '<(target_arch)', | 191 'target_arch%': '<(target_arch)', |
| 184 'v8_target_arch%': '<(v8_target_arch)', | 192 'v8_target_arch%': '<(v8_target_arch)', |
| 185 'werror%': '-Werror', | 193 'werror%': '-Werror', |
| 186 'use_goma%': '<(use_goma)', | 194 'use_goma%': '<(use_goma)', |
| 187 'gomadir%': '<(gomadir)', | 195 'gomadir%': '<(gomadir)', |
| 188 'asan%': '<(asan)', | 196 'asan%': '<(asan)', |
| 189 'lsan%': '<(lsan)', | 197 'lsan%': '<(lsan)', |
| 190 'msan%': '<(msan)', | 198 'msan%': '<(msan)', |
| 191 'tsan%': '<(tsan)', | 199 'tsan%': '<(tsan)', |
| 192 'sanitizer_coverage%': '<(sanitizer_coverage)', | 200 'sanitizer_coverage%': '<(sanitizer_coverage)', |
| 201 'use_prebuilt_instrumented_libraries%': '<(use_prebuilt_instrumented_librari es)', | |
| 193 'use_custom_libcxx%': '<(use_custom_libcxx)', | 202 'use_custom_libcxx%': '<(use_custom_libcxx)', |
| 194 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', | 203 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', |
| 195 'use_lto%': '<(use_lto)', | 204 'use_lto%': '<(use_lto)', |
| 196 'cfi_vptr%': '<(cfi_vptr)', | 205 'cfi_vptr%': '<(cfi_vptr)', |
| 197 'cfi_diag%': '<(cfi_diag)', | 206 'cfi_diag%': '<(cfi_diag)', |
| 198 'cfi_blacklist%': '<(cfi_blacklist)', | 207 'cfi_blacklist%': '<(cfi_blacklist)', |
| 199 'test_isolation_mode%': '<(test_isolation_mode)', | 208 'test_isolation_mode%': '<(test_isolation_mode)', |
| 200 'fastbuild%': '<(fastbuild)', | 209 'fastbuild%': '<(fastbuild)', |
| 201 'coverage%': '<(coverage)', | 210 'coverage%': '<(coverage)', |
| 202 'sysroot%': '<(sysroot)', | 211 'sysroot%': '<(sysroot)', |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 647 'ldflags': [ | 656 'ldflags': [ |
| 648 '-fsanitize=memory', | 657 '-fsanitize=memory', |
| 649 '-pie', | 658 '-pie', |
| 650 ], | 659 ], |
| 651 'defines': [ | 660 'defines': [ |
| 652 'MEMORY_SANITIZER', | 661 'MEMORY_SANITIZER', |
| 653 ], | 662 ], |
| 654 }], | 663 }], |
| 655 ], | 664 ], |
| 656 }], | 665 }], |
| 666 ['use_prebuilt_instrumented_libraries==1', { | |
| 667 'dependencies': [ | |
| 668 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:prebuilt_instrumented_libraries', | |
| 669 ], | |
| 670 }], | |
| 657 ['use_custom_libcxx==1', { | 671 ['use_custom_libcxx==1', { |
| 658 'dependencies': [ | 672 'dependencies': [ |
| 659 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy', | 673 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy', |
| 660 ], | 674 ], |
| 661 }], | 675 }], |
| 662 ['sanitizer_coverage!=0', { | 676 ['sanitizer_coverage!=0', { |
| 663 'target_conditions': [ | 677 'target_conditions': [ |
| 664 ['_toolset=="target"', { | 678 ['_toolset=="target"', { |
| 665 'cflags': [ | 679 'cflags': [ |
| 666 '-fsanitize-coverage=<(sanitizer_coverage)', | 680 '-fsanitize-coverage=<(sanitizer_coverage)', |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1491 '-fsanitize=cfi-vcall', | 1505 '-fsanitize=cfi-vcall', |
| 1492 '-fsanitize=cfi-derived-cast', | 1506 '-fsanitize=cfi-derived-cast', |
| 1493 '-fsanitize=cfi-unrelated-cast', | 1507 '-fsanitize=cfi-unrelated-cast', |
| 1494 ], | 1508 ], |
| 1495 }], | 1509 }], |
| 1496 ], | 1510 ], |
| 1497 }, | 1511 }, |
| 1498 }], | 1512 }], |
| 1499 ], | 1513 ], |
| 1500 } | 1514 } |
| OLD | NEW |