Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: webrtc/test/fuzzers/BUILD.gn

Issue 1469123004: Add fuzzing of VP8 QP parsing. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: add fuzzer to webrtc/BUILD.gn Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/test/fuzzers/vp8_qp_parser_fuzzer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 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 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 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
11 11
12 static_library("webrtc_fuzzer_main") { 12 static_library("webrtc_fuzzer_main") {
13 sources = [ 13 sources = [
14 "webrtc_fuzzer_main.cc", 14 "webrtc_fuzzer_main.cc",
15 ] 15 ]
16 deps = [ 16 deps = [
17 "..:field_trial", 17 "..:field_trial",
18 "../../system_wrappers:metrics_default",
18 "//testing/libfuzzer:libfuzzer_main", 19 "//testing/libfuzzer:libfuzzer_main",
19 ] 20 ]
20 } 21 }
21 22
22 test("vp9_depacketizer_fuzzer") { 23 test("vp9_depacketizer_fuzzer") {
23 sources = [ 24 sources = [
24 "vp9_depacketizer_fuzzer.cc", 25 "vp9_depacketizer_fuzzer.cc",
25 ] 26 ]
26 deps = [ 27 deps = [
27 ":webrtc_fuzzer_main", 28 ":webrtc_fuzzer_main",
28 "../../modules/rtp_rtcp", 29 "../../modules/rtp_rtcp",
29 ] 30 ]
30 if (is_clang) { 31 if (is_clang) {
31 # Suppress warnings from Chrome's Clang plugins. 32 # Suppress warnings from Chrome's Clang plugins.
32 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 33 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
33 configs -= [ "//build/config/clang:find_bad_constructs" ] 34 configs -= [ "//build/config/clang:find_bad_constructs" ]
34 } 35 }
35 } 36 }
37
38 test("vp8_qp_parser_fuzzer") {
39 sources = [
40 "vp8_qp_parser_fuzzer.cc",
41 ]
42 deps = [
43 ":webrtcfuzzer_main",
44 "../../modules/video_coding/",
45 ]
46
47 if (is_clang) {
48 # Suppress warnings from Chrome's Clang plugins.
49 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
50 configs -= [ "//build/config/clang:find_bad_constructs" ]
51 }
52 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/test/fuzzers/vp8_qp_parser_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698