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

Side by Side Diff: webrtc/BUILD.gn

Issue 1463523002: Implement fuzzing of VP9 depacketization. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: added sanitizers.gni for default values 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 | « no previous file | webrtc/test/BUILD.gn » ('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) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
11 import("//build/config/linux/pkg_config.gni") 11 import("//build/config/linux/pkg_config.gni")
12 import("//build/config/sanitizers/sanitizers.gni")
12 import("build/webrtc.gni") 13 import("build/webrtc.gni")
13 import("//third_party/protobuf/proto_library.gni") 14 import("//third_party/protobuf/proto_library.gni")
14 15
15 # Contains the defines and includes in common.gypi that are duplicated both as 16 # Contains the defines and includes in common.gypi that are duplicated both as
16 # target_defaults and direct_dependent_settings. 17 # target_defaults and direct_dependent_settings.
17 config("common_inherited_config") { 18 config("common_inherited_config") {
18 defines = [] 19 defines = []
19 if (build_with_mozilla) { 20 if (build_with_mozilla) {
20 defines += [ "WEBRTC_MOZILLA_BUILD" ] 21 defines += [ "WEBRTC_MOZILLA_BUILD" ]
21 } 22 }
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 "config.h", 171 "config.h",
171 "frame_callback.h", 172 "frame_callback.h",
172 "transport.h", 173 "transport.h",
173 ] 174 ]
174 175
175 defines = [] 176 defines = []
176 configs += [ ":common_config" ] 177 configs += [ ":common_config" ]
177 public_configs = [ ":common_inherited_config" ] 178 public_configs = [ ":common_inherited_config" ]
178 179
179 deps = [ 180 deps = [
181 ":webrtc_common",
180 "audio", 182 "audio",
181 ":webrtc_common",
182 "base:rtc_base", 183 "base:rtc_base",
183 "call", 184 "call",
184 "common_audio", 185 "common_audio",
185 "common_video", 186 "common_video",
186 "modules/audio_coding", 187 "modules/audio_coding",
187 "modules/audio_conference_mixer", 188 "modules/audio_conference_mixer",
188 "modules/audio_device", 189 "modules/audio_device",
189 "modules/audio_processing", 190 "modules/audio_processing",
190 "modules/bitrate_controller", 191 "modules/bitrate_controller",
191 "modules/desktop_capture", 192 "modules/desktop_capture",
(...skipping 19 matching lines...) Expand all
211 defines += [ "ENABLE_RTC_EVENT_LOG" ] 212 defines += [ "ENABLE_RTC_EVENT_LOG" ]
212 deps += [ ":rtc_event_log_proto" ] 213 deps += [ ":rtc_event_log_proto" ]
213 } 214 }
214 } 215 }
215 216
216 if (!build_with_chromium) { 217 if (!build_with_chromium) {
217 executable("webrtc_tests") { 218 executable("webrtc_tests") {
218 testonly = true 219 testonly = true
219 deps = [ 220 deps = [
220 ":webrtc", 221 ":webrtc",
222 "modules/video_capture:video_capture_internal_impl",
221 "modules/video_render:video_render_internal_impl", 223 "modules/video_render:video_render_internal_impl",
222 "modules/video_capture:video_capture_internal_impl",
223 "test", 224 "test",
224 ] 225 ]
225 } 226 }
226 } 227 }
227 228
228 source_set("webrtc_common") { 229 source_set("webrtc_common") {
229 sources = [ 230 sources = [
230 "common_types.cc", 231 "common_types.cc",
231 "common_types.h", 232 "common_types.h",
232 "config.cc", 233 "config.cc",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 if (rtc_enable_protobuf) { 272 if (rtc_enable_protobuf) {
272 defines += [ "ENABLE_RTC_EVENT_LOG" ] 273 defines += [ "ENABLE_RTC_EVENT_LOG" ]
273 deps += [ ":rtc_event_log_proto" ] 274 deps += [ ":rtc_event_log_proto" ]
274 } 275 }
275 if (is_clang && !is_nacl) { 276 if (is_clang && !is_nacl) {
276 # Suppress warnings from Chrome's Clang plugins. 277 # Suppress warnings from Chrome's Clang plugins.
277 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 278 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
278 configs -= [ "//build/config/clang:find_bad_constructs" ] 279 configs -= [ "//build/config/clang:find_bad_constructs" ]
279 } 280 }
280 } 281 }
282
283 if (use_libfuzzer) {
284 group("webrtc_fuzzers") {
285 testonly = true
286 deps = [
287 "test/fuzzers:vp9_depacketizer_fuzzer",
288 ]
289 }
290 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698