1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 # 3 # Use of this source code is governed by a BSD-style license 4 # that can be found in the LICENSE file in the root of the source 5 # tree. An additional intellectual property rights grant can be found 6 # in the file PATENTS. All contributing project authors may 7 # be found in the AUTHORS file in the root of the source tree. 8 9 import("//testing/test.gni") 10 11 template("webrtc_fuzzer_test") { 12 assert(defined(invoker.sources), "Need sources in $target_name.") 13 14 test(target_name) { 15 forward_variables_from(invoker, [ "sources" ]) 16 deps = [ 17 ":webrtc_fuzzer_main", 18 ] 19 if (defined(invoker.deps)) { 20 deps += invoker.deps 21 } 22 if (is_clang) { 23 # Suppress warnings from Chrome's Clang plugins. 24 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 25 configs -= [ "//build/config/clang:find_bad_constructs" ] 26 } 27 } 28 } 29