Peter Boström | 62e9bda | 2015-11-23 15:12:06 +0100 | [diff] [blame] | 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("//build/config/features.gni") |
| 10 | import("//testing/test.gni") |
| 11 | |
| 12 | static_library("webrtc_fuzzer_main") { |
| 13 | sources = [ |
| 14 | "webrtc_fuzzer_main.cc", |
| 15 | ] |
| 16 | deps = [ |
Peter Boström | 89d658f | 2015-11-25 21:58:36 +0100 | [diff] [blame^] | 17 | "../../system_wrappers:field_trial_default", |
Peter Boström | 62e9bda | 2015-11-23 15:12:06 +0100 | [diff] [blame] | 18 | "//testing/libfuzzer:libfuzzer_main", |
| 19 | ] |
| 20 | } |
| 21 | |
| 22 | test("vp9_depacketizer_fuzzer") { |
| 23 | sources = [ |
| 24 | "vp9_depacketizer_fuzzer.cc", |
| 25 | ] |
| 26 | deps = [ |
| 27 | ":webrtc_fuzzer_main", |
| 28 | "../../modules/rtp_rtcp", |
| 29 | ] |
| 30 | if (is_clang) { |
| 31 | # Suppress warnings from Chrome's Clang plugins. |
| 32 | # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 33 | configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 34 | } |
| 35 | } |