Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: build/config/sanitizers/BUILD.gn

Issue 2095843002: Build afl-tools with fuzzers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change //third_party/afl:afl to //third_party/afl. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/afl/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/toolchain/toolchain.gni") 8 import("//build/toolchain/toolchain.gni")
9 9
10 # Contains the dependencies needed for sanitizers to link into executables and 10 # Contains the dependencies needed for sanitizers to link into executables and
(...skipping 10 matching lines...) Expand all
21 # Even when a target removes default_sanitizer_flags, it may be depending 21 # Even when a target removes default_sanitizer_flags, it may be depending
22 # on a library that did not remove default_sanitizer_flags. Thus, we need 22 # on a library that did not remove default_sanitizer_flags. Thus, we need
23 # to add the ldflags here as well as in default_sanitizer_flags. 23 # to add the ldflags here as well as in default_sanitizer_flags.
24 ":default_sanitizer_ldflags", 24 ":default_sanitizer_ldflags",
25 ] 25 ]
26 deps = [ 26 deps = [
27 ":options_sources", 27 ":options_sources",
28 ] 28 ]
29 } 29 }
30 if (use_afl) { 30 if (use_afl) {
31 deps += [ "//third_party/afl:afl_runtime" ] 31 deps += [ "//third_party/afl" ]
32 } 32 }
33 } 33 }
34 34
35 group("deps_no_options") { 35 group("deps_no_options") {
36 if (using_sanitizer) { 36 if (using_sanitizer) {
37 public_configs = [ 37 public_configs = [
38 # Even when a target removes default_sanitizer_flags, it may be depending 38 # Even when a target removes default_sanitizer_flags, it may be depending
39 # on a library that did not remove default_sanitizer_flags. Thus, we need 39 # on a library that did not remove default_sanitizer_flags. Thus, we need
40 # to add the ldflags here as well as in default_sanitizer_flags. 40 # to add the ldflags here as well as in default_sanitizer_flags.
41 ":default_sanitizer_ldflags", 41 ":default_sanitizer_ldflags",
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 # This allows to selectively disable ubsan_vptr, when needed. In particular, 432 # This allows to selectively disable ubsan_vptr, when needed. In particular,
433 # if some third_party code is required to be compiled without rtti, which 433 # if some third_party code is required to be compiled without rtti, which
434 # is a requirement for ubsan_vptr. 434 # is a requirement for ubsan_vptr.
435 config("default_sanitizer_flags_but_ubsan_vptr") { 435 config("default_sanitizer_flags_but_ubsan_vptr") {
436 configs = all_sanitizer_configs - [ ":ubsan_vptr_flags" ] 436 configs = all_sanitizer_configs - [ ":ubsan_vptr_flags" ]
437 } 437 }
438 438
439 config("default_sanitizer_flags_but_coverage") { 439 config("default_sanitizer_flags_but_coverage") {
440 configs = all_sanitizer_configs - [ ":coverage_flags" ] 440 configs = all_sanitizer_configs - [ ":coverage_flags" ]
441 } 441 }
OLDNEW
« no previous file with comments | « no previous file | third_party/afl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698