Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 } | |
| OLD | NEW |