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

Side by Side Diff: webrtc/examples/BUILD.gn

Issue 2250893003: GN: Add "//build/config/sanitizers:deps" to executable targets (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Revert mb_config.pyl modification. Created 4 years, 4 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/BUILD.gn ('k') | webrtc/modules/audio_coding/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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 ] 423 ]
424 libs = [ 424 libs = [
425 "X11", 425 "X11",
426 "Xcomposite", 426 "Xcomposite",
427 "Xext", 427 "Xext",
428 "Xrender", 428 "Xrender",
429 ] 429 ]
430 public_configs = [ ":gtk2_config" ] 430 public_configs = [ ":gtk2_config" ]
431 } 431 }
432 deps = [ 432 deps = [
433 "//build/config/sanitizers:deps",
433 "//webrtc/api:libjingle_peerconnection", 434 "//webrtc/api:libjingle_peerconnection",
434 "//webrtc/system_wrappers:field_trial_default", 435 "//webrtc/system_wrappers:field_trial_default",
435 "//webrtc/system_wrappers:metrics_default", 436 "//webrtc/system_wrappers:metrics_default",
436 ] 437 ]
437 if (rtc_build_json) { 438 if (rtc_build_json) {
438 deps += [ "//third_party/jsoncpp" ] 439 deps += [ "//third_party/jsoncpp" ]
439 } 440 }
440 } 441 }
441 executable("peerconnection_server") { 442 executable("peerconnection_server") {
442 sources = [ 443 sources = [
443 "peerconnection/server/data_socket.cc", 444 "peerconnection/server/data_socket.cc",
444 "peerconnection/server/data_socket.h", 445 "peerconnection/server/data_socket.h",
445 "peerconnection/server/main.cc", 446 "peerconnection/server/main.cc",
446 "peerconnection/server/peer_channel.cc", 447 "peerconnection/server/peer_channel.cc",
447 "peerconnection/server/peer_channel.h", 448 "peerconnection/server/peer_channel.h",
448 "peerconnection/server/utils.cc", 449 "peerconnection/server/utils.cc",
449 "peerconnection/server/utils.h", 450 "peerconnection/server/utils.h",
450 ] 451 ]
451 deps = [ 452 deps = [
453 "//build/config/sanitizers:deps",
452 "//webrtc:webrtc_common", 454 "//webrtc:webrtc_common",
453 "//webrtc/base:rtc_base_approved", 455 "//webrtc/base:rtc_base_approved",
454 "//webrtc/tools:command_line_parser", 456 "//webrtc/tools:command_line_parser",
455 ] 457 ]
456 if (is_clang) { 458 if (is_clang) {
457 # Suppress warnings from the Chromium Clang plugin. 459 # Suppress warnings from the Chromium Clang plugin.
458 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 460 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
459 configs -= [ "//build/config/clang:find_bad_constructs" ] 461 configs -= [ "//build/config/clang:find_bad_constructs" ]
460 } 462 }
461 } 463 }
462 executable("relayserver") { 464 executable("relayserver") {
463 sources = [ 465 sources = [
464 "relayserver/relayserver_main.cc", 466 "relayserver/relayserver_main.cc",
465 ] 467 ]
466 deps = [ 468 deps = [
469 "//build/config/sanitizers:deps",
467 "//webrtc/base:rtc_base_approved", 470 "//webrtc/base:rtc_base_approved",
468 "//webrtc/pc:rtc_pc", 471 "//webrtc/pc:rtc_pc",
469 "//webrtc/system_wrappers:field_trial_default", 472 "//webrtc/system_wrappers:field_trial_default",
470 "//webrtc/system_wrappers:metrics_default", 473 "//webrtc/system_wrappers:metrics_default",
471 ] 474 ]
472 if (is_clang) { 475 if (is_clang) {
473 # Suppress warnings from the Chromium Clang plugin. 476 # Suppress warnings from the Chromium Clang plugin.
474 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 477 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
475 configs -= [ "//build/config/clang:find_bad_constructs" ] 478 configs -= [ "//build/config/clang:find_bad_constructs" ]
476 } 479 }
477 } 480 }
478 executable("turnserver") { 481 executable("turnserver") {
479 sources = [ 482 sources = [
480 "turnserver/turnserver_main.cc", 483 "turnserver/turnserver_main.cc",
481 ] 484 ]
482 deps = [ 485 deps = [
486 "//build/config/sanitizers:deps",
483 "//webrtc/base:rtc_base_approved", 487 "//webrtc/base:rtc_base_approved",
484 "//webrtc/pc:rtc_pc", 488 "//webrtc/pc:rtc_pc",
485 "//webrtc/system_wrappers:field_trial_default", 489 "//webrtc/system_wrappers:field_trial_default",
486 "//webrtc/system_wrappers:metrics_default", 490 "//webrtc/system_wrappers:metrics_default",
487 ] 491 ]
488 if (is_clang) { 492 if (is_clang) {
489 # Suppress warnings from the Chromium Clang plugin. 493 # Suppress warnings from the Chromium Clang plugin.
490 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 494 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
491 configs -= [ "//build/config/clang:find_bad_constructs" ] 495 configs -= [ "//build/config/clang:find_bad_constructs" ]
492 } 496 }
493 } 497 }
494 executable("stunserver") { 498 executable("stunserver") {
495 sources = [ 499 sources = [
496 "stunserver/stunserver_main.cc", 500 "stunserver/stunserver_main.cc",
497 ] 501 ]
498 deps = [ 502 deps = [
503 "//build/config/sanitizers:deps",
499 "//webrtc/base:rtc_base_approved", 504 "//webrtc/base:rtc_base_approved",
500 "//webrtc/pc:rtc_pc", 505 "//webrtc/pc:rtc_pc",
501 "//webrtc/system_wrappers:field_trial_default", 506 "//webrtc/system_wrappers:field_trial_default",
502 "//webrtc/system_wrappers:metrics_default", 507 "//webrtc/system_wrappers:metrics_default",
503 ] 508 ]
504 if (is_clang) { 509 if (is_clang) {
505 # Suppress warnings from the Chromium Clang plugin. 510 # Suppress warnings from the Chromium Clang plugin.
506 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 511 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
507 configs -= [ "//build/config/clang:find_bad_constructs" ] 512 configs -= [ "//build/config/clang:find_bad_constructs" ]
508 } 513 }
509 } 514 }
510 } 515 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/modules/audio_coding/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698