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

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

Issue 1499093002: Create fuzzer tests for audio decoders (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add a public_configs element to webrtc_fuzzer_main 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/audio_decoder_fuzzer.h » ('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 public_configs = [ "../..:common_inherited_config" ]
hlundin-webrtc 2015/12/08 09:49:17 Had to add this to make it build under Chromium.
13 sources = [ 14 sources = [
14 "webrtc_fuzzer_main.cc", 15 "webrtc_fuzzer_main.cc",
15 ] 16 ]
16 deps = [ 17 deps = [
17 "../../system_wrappers:field_trial_default", 18 "../../system_wrappers:field_trial_default",
18 "../../system_wrappers:metrics_default", 19 "../../system_wrappers:metrics_default",
19 "//testing/libfuzzer:libfuzzer_main", 20 "//testing/libfuzzer:libfuzzer_main",
20 ] 21 ]
21 } 22 }
22 23
(...skipping 20 matching lines...) Expand all
43 ":webrtc_fuzzer_main", 44 ":webrtc_fuzzer_main",
44 "../../modules/video_coding/", 45 "../../modules/video_coding/",
45 ] 46 ]
46 47
47 if (is_clang) { 48 if (is_clang) {
48 # Suppress warnings from Chrome's Clang plugins. 49 # Suppress warnings from Chrome's Clang plugins.
49 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 50 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
50 configs -= [ "//build/config/clang:find_bad_constructs" ] 51 configs -= [ "//build/config/clang:find_bad_constructs" ]
51 } 52 }
52 } 53 }
54
55 source_set("audio_decoder_fuzzer") {
56 sources = [
57 "audio_decoder_fuzzer.cc",
58 "audio_decoder_fuzzer.h",
59 ]
60 deps = [
61 ":webrtc_fuzzer_main",
62 ]
63 }
64
65 test("audio_decoder_ilbc_fuzzer") {
66 sources = [
67 "audio_decoder_ilbc_fuzzer.cc",
68 ]
69 deps = [
70 ":audio_decoder_fuzzer",
71 "../../modules/audio_coding:ilbc",
72 ]
73 }
74
75 test("audio_decoder_isac_fuzzer") {
76 sources = [
77 "audio_decoder_isac_fuzzer.cc",
78 ]
79 deps = [
80 ":audio_decoder_fuzzer",
81 "../../modules/audio_coding:isac",
82 ]
83 }
84
85 test("audio_decoder_isacfix_fuzzer") {
86 sources = [
87 "audio_decoder_isacfix_fuzzer.cc",
88 ]
89 deps = [
90 ":audio_decoder_fuzzer",
91 "../../modules/audio_coding:isac_fix",
92 ]
93 }
94
95 test("audio_decoder_opus_fuzzer") {
96 sources = [
97 "audio_decoder_opus_fuzzer.cc",
98 ]
99 deps = [
100 ":audio_decoder_fuzzer",
101 "../../modules/audio_coding:webrtc_opus",
102 ]
103 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/test/fuzzers/audio_decoder_fuzzer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698