30 lines
678 B
Plaintext
30 lines
678 B
Plaintext
# Copyright 2019 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# LibFuzzer is a LLVM tool for coverage-guided fuzz testing.
|
|
# See http://www.chromium.org/developers/testing/libfuzzer
|
|
|
|
import("//build_overrides/build.gni")
|
|
|
|
source_set("fuzzing_engine_main") {
|
|
deps = [
|
|
"//third_party/libfuzzer",
|
|
]
|
|
sources = []
|
|
}
|
|
|
|
# A config used by all fuzzer_tests.
|
|
config("fuzzer_test_config") {
|
|
if (is_mac) {
|
|
ldflags = [
|
|
"-Wl,-U,_LLVMFuzzerCustomMutator",
|
|
"-Wl,-U,_LLVMFuzzerInitialize",
|
|
]
|
|
}
|
|
}
|
|
|
|
# noop to tag seed corpus rules.
|
|
source_set("seed_corpus") {
|
|
}
|