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

Unified Diff: testing/libfuzzer/BUILD.gn

Issue 1752183002: Pull in libFuzzer as a third party dep. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again because catapalt Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | third_party/libFuzzer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/libfuzzer/BUILD.gn
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn
index 2063f9206e2ce49ca5a2688030f0a8191fbcb543..863d98c73ae6087076dc639fcd9e6f70b873c47f 100644
--- a/testing/libfuzzer/BUILD.gn
+++ b/testing/libfuzzer/BUILD.gn
@@ -11,25 +11,10 @@ import("//build/config/features.gni")
import("//build/config/sanitizers/sanitizers.gni")
static_library("libfuzzer_main") {
- # libfuzzer should be compiled without coverage (infinite loop in trace_cmp).
- configs -= [ "//build/config/sanitizers:default_sanitizer_coverage_flags" ]
-
+ deps = []
sources = []
if (use_libfuzzer) {
- sources += [
- "../../third_party/llvm/lib/Fuzzer/FuzzerCrossOver.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerDriver.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerFlags.def",
- "../../third_party/llvm/lib/Fuzzer/FuzzerIO.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerInterface.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerLoop.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerMain.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerMutate.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerSHA1.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerTracePC.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerTraceState.cpp",
- "../../third_party/llvm/lib/Fuzzer/FuzzerUtil.cpp",
- ]
+ deps += [ "//third_party/libFuzzer:libfuzzer" ]
} else if (use_drfuzz) {
sources += [ "drfuzz_main.cc" ]
} else {
« no previous file with comments | « DEPS ('k') | third_party/libFuzzer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698