Reason for revert: Found missing public_configs that broke Chromium libfuzzer build. Original issue's description: > Revert of Base webrtc fuzzers on a template. (patchset #1 id:1 of https://codereview.webrtc.org/1524993002/ ) > > Reason for revert: > Suspect this is breaking the build: > https://build.chromium.org/p/chromium.fyi/builders/Libfuzzer%20Upload%20Linux/builds/1576/steps/compile/logs/stdio > > Original issue's description: > > Base webrtc fuzzers on a template. > > > > Removes noisy dependencies on webrtc_fuzzer_main and removal of > > find_bad_constructs, removes 1-6 lines of gn per fuzzer target. > > > > BUG=webrtc:4771 > > R=kjellander@webrtc.org > > > > Committed: https://crrev.com/5ea3da2cbbb0710f9617fb0627c0c4258437b09f > > Cr-Commit-Position: refs/heads/master@{#11022} > > TBR=kjellander@webrtc.org,pbos@webrtc.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:4771 > > Committed: https://crrev.com/5e0218c66e0686dd00719f1e53f844efa94c9f42 > Cr-Commit-Position: refs/heads/master@{#11032} TBR=kjellander@webrtc.org,tommi@webrtc.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:4771 Review URL: https://codereview.webrtc.org/1522003005 . Cr-Commit-Position: refs/heads/master@{#11035}
29 lines
942 B
Plaintext
29 lines
942 B
Plaintext
# Copyright (c) 2015 The WebRTC 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 in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
import("//testing/test.gni")
|
|
|
|
template("webrtc_fuzzer_test") {
|
|
assert(defined(invoker.sources), "Need sources in $target_name.")
|
|
|
|
test(target_name) {
|
|
forward_variables_from(invoker, [ "sources" ])
|
|
deps = [
|
|
":webrtc_fuzzer_main",
|
|
]
|
|
if (defined(invoker.deps)) {
|
|
deps += invoker.deps
|
|
}
|
|
if (is_clang) {
|
|
# Suppress warnings from Chrome's Clang plugins.
|
|
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
|
configs -= [ "//build/config/clang:find_bad_constructs" ]
|
|
}
|
|
}
|
|
}
|