Commit 0bdb4690 authored by machenbach's avatar machenbach Committed by Commit bot

[foozzie] Add correctness fuzzer resources to build output

This adds the correctness fuzzer harness files to the output
directory guarded by a gn arg.

The switch will be turned on on the builder uploading builds to
clusterfuzz.

BUG=chromium:673246
NOTRY=true
TBR=tandrii@chromium.org,jochen@chromium.org

Review-Url: https://codereview.chromium.org/2623843002
Cr-Commit-Position: refs/heads/master@{#42166}
parent cd9ec3d2
......@@ -2580,6 +2580,10 @@ v8_executable("d8") {
deps += [ "//third_party/icu" ]
}
if (v8_correctness_fuzzer) {
deps += [ "tools/foozzie:v8_correctness_fuzzer_resources" ]
}
defines = []
if (v8_enable_inspector) {
defines += [ "V8_INSPECTOR_ENABLED" ]
......
......@@ -7,6 +7,9 @@ import("//build/config/v8_target_cpu.gni")
import("//build_overrides/v8.gni")
declare_args() {
# Includes files needed for correctness fuzzing.
v8_correctness_fuzzer = false
# Indicate if valgrind was fetched as a custom deps to make it available on
# swarming.
v8_has_valgrind = false
......
# Copyright 2017 the V8 project 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("../../gni/v8.gni")
if (v8_correctness_fuzzer) {
copy("v8_correctness_fuzzer_resources") {
sources = [
"v8_commands.py",
"v8_foozzie.py",
"v8_mock.js",
"v8_suppressions.js",
"v8_suppressions.py",
]
outputs = [ "$root_out_dir/{{source_file_part}}" ]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment