Fix building simple_fuzzer with v8_static_library
We can't have "main" in a static library. so just include the small fuzzer.cc in all simple fuzzers BUG=none R=machenbach@chromium.org,vogelheim@chromium.org Review-Url: https://codereview.chromium.org/2608243005 Cr-Commit-Position: refs/heads/master@{#42086}
This commit is contained in:
parent
0957241060
commit
4692d96f74
14
BUILD.gn
14
BUILD.gn
@ -2416,14 +2416,6 @@ v8_source_set("fuzzer_support") {
|
||||
}
|
||||
}
|
||||
|
||||
v8_source_set("simple_fuzzer") {
|
||||
sources = [
|
||||
"test/fuzzer/fuzzer.cc",
|
||||
]
|
||||
|
||||
configs = [ ":internal_config_base" ]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# Executables
|
||||
#
|
||||
@ -2703,10 +2695,14 @@ template("v8_fuzzer") {
|
||||
v8_executable("v8_simple_" + name) {
|
||||
deps = [
|
||||
":" + name,
|
||||
":simple_fuzzer",
|
||||
"//build/config/sanitizers:deps",
|
||||
"//build/win:default_exe_manifest",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"test/fuzzer/fuzzer.cc",
|
||||
]
|
||||
|
||||
configs = [ ":external_config" ]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user