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

Side by Side Diff: testing/libfuzzer/BUILD.gn

Issue 1847803003: Revert of [libfuzzer] supporting libfuzzer on mac with asan (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed merge conflict Created 4 years, 8 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 | « build/config/sanitizers/sanitizers.gni ('k') | testing/libfuzzer/fuzzer_test.gni » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # LibFuzzer is a LLVM tool for coverage-guided fuzz testing. 5 # LibFuzzer is a LLVM tool for coverage-guided fuzz testing.
6 # See http://www.chromium.org/developers/testing/libfuzzer 6 # See http://www.chromium.org/developers/testing/libfuzzer
7 # 7 #
8 # To enable libfuzzer, 'use_libfuzzer' GN option should be set to true. 8 # To enable libfuzzer, 'use_libfuzzer' GN option should be set to true.
9 9
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 19 matching lines...) Expand all
30 "../../third_party/llvm/lib/Fuzzer/FuzzerTraceState.cpp", 30 "../../third_party/llvm/lib/Fuzzer/FuzzerTraceState.cpp",
31 "../../third_party/llvm/lib/Fuzzer/FuzzerUtil.cpp", 31 "../../third_party/llvm/lib/Fuzzer/FuzzerUtil.cpp",
32 ] 32 ]
33 } else if (use_drfuzz) { 33 } else if (use_drfuzz) {
34 sources += [ "drfuzz_main.cc" ] 34 sources += [ "drfuzz_main.cc" ]
35 } else { 35 } else {
36 sources += [ "unittest_main.cc" ] 36 sources += [ "unittest_main.cc" ]
37 } 37 }
38 } 38 }
39 39
40 # A config used by all fuzzer_tests.
41 config("fuzzer_test_config") {
42 if (use_libfuzzer && is_mac) {
43 ldflags = [
44 "-Wl,-U,_LLVMFuzzerCustomMutator",
45 "-Wl,-U,_LLVMFuzzerInitialize",
46 ]
47 }
48 }
49
50 # Noop config used to tag fuzzer tests excluded from clusterfuzz. 40 # Noop config used to tag fuzzer tests excluded from clusterfuzz.
51 # Libfuzzer build bot uses this to filter out targets while 41 # Libfuzzer build bot uses this to filter out targets while
52 # building an archive for clusterfuzz. 42 # building an archive for clusterfuzz.
53 config("no_clusterfuzz") { 43 config("no_clusterfuzz") {
54 } 44 }
55 45
56 # noop to tag seed corpus rules. 46 # noop to tag seed corpus rules.
57 source_set("seed_corpus") { 47 source_set("seed_corpus") {
58 } 48 }
OLDNEW
« no previous file with comments | « build/config/sanitizers/sanitizers.gni ('k') | testing/libfuzzer/fuzzer_test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698