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

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

Issue 2408133008: GN: Exclude suppressions of Chromium Clang warnings for Chromium builds. (Closed)
Patch Set: Created 4 years, 2 months 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/test/BUILD.gn ('k') | webrtc/tools/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) 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/webrtc.gni") 9 import("../../build/webrtc.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
11 import("//testing/libfuzzer/fuzzer_test.gni") 11 import("//testing/libfuzzer/fuzzer_test.gni")
12 12
13 rtc_static_library("webrtc_fuzzer_main") { 13 rtc_static_library("webrtc_fuzzer_main") {
14 sources = [ 14 sources = [
15 "webrtc_fuzzer_main.cc", 15 "webrtc_fuzzer_main.cc",
16 ] 16 ]
17 deps = [ 17 deps = [
18 "../../system_wrappers:field_trial_default", 18 "../../system_wrappers:field_trial_default",
19 "../../system_wrappers:metrics_default", 19 "../../system_wrappers:metrics_default",
20 "//testing/libfuzzer:libfuzzer_main", 20 "//testing/libfuzzer:libfuzzer_main",
21 ] 21 ]
22 } 22 }
23 23
24 template("webrtc_fuzzer_test") { 24 template("webrtc_fuzzer_test") {
25 fuzzer_test(target_name) { 25 fuzzer_test(target_name) {
26 forward_variables_from(invoker, "*") 26 forward_variables_from(invoker, "*")
27 deps += [ ":webrtc_fuzzer_main" ] 27 deps += [ ":webrtc_fuzzer_main" ]
28 if (is_clang) { 28 if (!build_with_chromium && is_clang) {
29 # Suppress warnings from Chrome's Clang plugins. 29 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
30 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details
31 suppressed_configs = [ "//build/config/clang:find_bad_constructs" ] 30 suppressed_configs = [ "//build/config/clang:find_bad_constructs" ]
32 } 31 }
33 } 32 }
34 } 33 }
35 34
36 webrtc_fuzzer_test("h264_depacketizer_fuzzer") { 35 webrtc_fuzzer_test("h264_depacketizer_fuzzer") {
37 sources = [ 36 sources = [
38 "h264_depacketizer_fuzzer.cc", 37 "h264_depacketizer_fuzzer.cc",
39 ] 38 ]
40 deps = [ 39 deps = [
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 } 255 }
257 256
258 webrtc_fuzzer_test("pseudotcp_parser_fuzzer") { 257 webrtc_fuzzer_test("pseudotcp_parser_fuzzer") {
259 sources = [ 258 sources = [
260 "pseudotcp_parser_fuzzer.cc", 259 "pseudotcp_parser_fuzzer.cc",
261 ] 260 ]
262 deps = [ 261 deps = [
263 "../../p2p:rtc_p2p", 262 "../../p2p:rtc_p2p",
264 ] 263 ]
265 } 264 }
OLDNEW
« no previous file with comments | « webrtc/test/BUILD.gn ('k') | webrtc/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698