You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
# 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.
|
|
|
|
import("//build_overrides/build.gni")
|
|
|
|
config("ignore_warnings") {
|
|
if (is_clang) {
|
|
cflags_cc = [
|
|
"-Wno-unused-result",
|
|
"-Wno-exit-time-destructors",
|
|
]
|
|
}
|
|
}
|
|
|
|
source_set("libfuzzer") {
|
|
sources = [
|
|
"src/FuzzerCrossOver.cpp",
|
|
"src/FuzzerDataFlowTrace.cpp",
|
|
"src/FuzzerDriver.cpp",
|
|
"src/FuzzerExtFunctionsDlsym.cpp",
|
|
"src/FuzzerExtFunctionsWeak.cpp",
|
|
"src/FuzzerExtFunctionsWindows.cpp",
|
|
"src/FuzzerExtraCounters.cpp",
|
|
"src/FuzzerFork.cpp",
|
|
"src/FuzzerIO.cpp",
|
|
"src/FuzzerIOPosix.cpp",
|
|
"src/FuzzerIOWindows.cpp",
|
|
"src/FuzzerLoop.cpp",
|
|
"src/FuzzerMain.cpp",
|
|
"src/FuzzerMerge.cpp",
|
|
"src/FuzzerMutate.cpp",
|
|
"src/FuzzerSHA1.cpp",
|
|
"src/FuzzerTracePC.cpp",
|
|
"src/FuzzerUtil.cpp",
|
|
"src/FuzzerUtilDarwin.cpp",
|
|
"src/FuzzerUtilFuchsia.cpp",
|
|
"src/FuzzerUtilLinux.cpp",
|
|
"src/FuzzerUtilPosix.cpp",
|
|
"src/FuzzerUtilWindows.cpp",
|
|
]
|
|
|
|
configs += [ ":ignore_warnings" ]
|
|
}
|