| OLD | NEW |
| 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 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 ] | 436 ] |
| 437 libs = [ | 437 libs = [ |
| 438 "X11", | 438 "X11", |
| 439 "Xcomposite", | 439 "Xcomposite", |
| 440 "Xext", | 440 "Xext", |
| 441 "Xrender", | 441 "Xrender", |
| 442 ] | 442 ] |
| 443 public_configs = [ ":gtk2_config" ] | 443 public_configs = [ ":gtk2_config" ] |
| 444 } | 444 } |
| 445 deps = [ | 445 deps = [ |
| 446 "//build/config/sanitizers:deps", | |
| 447 "//third_party/libyuv", | 446 "//third_party/libyuv", |
| 448 "//webrtc/api:libjingle_peerconnection", | 447 "//webrtc/api:libjingle_peerconnection", |
| 449 "//webrtc/system_wrappers:field_trial_default", | 448 "//webrtc/system_wrappers:field_trial_default", |
| 450 "//webrtc/system_wrappers:metrics_default", | 449 "//webrtc/system_wrappers:metrics_default", |
| 451 ] | 450 ] |
| 452 configs += [ ":peerconnection_client_warnings_config" ] | 451 configs += [ ":peerconnection_client_warnings_config" ] |
| 453 if (rtc_build_json) { | 452 if (rtc_build_json) { |
| 454 deps += [ "//third_party/jsoncpp" ] | 453 deps += [ "//third_party/jsoncpp" ] |
| 455 } | 454 } |
| 456 } | 455 } |
| 457 rtc_executable("peerconnection_server") { | 456 rtc_executable("peerconnection_server") { |
| 458 sources = [ | 457 sources = [ |
| 459 "peerconnection/server/data_socket.cc", | 458 "peerconnection/server/data_socket.cc", |
| 460 "peerconnection/server/data_socket.h", | 459 "peerconnection/server/data_socket.h", |
| 461 "peerconnection/server/main.cc", | 460 "peerconnection/server/main.cc", |
| 462 "peerconnection/server/peer_channel.cc", | 461 "peerconnection/server/peer_channel.cc", |
| 463 "peerconnection/server/peer_channel.h", | 462 "peerconnection/server/peer_channel.h", |
| 464 "peerconnection/server/utils.cc", | 463 "peerconnection/server/utils.cc", |
| 465 "peerconnection/server/utils.h", | 464 "peerconnection/server/utils.h", |
| 466 ] | 465 ] |
| 467 deps = [ | 466 deps = [ |
| 468 "//build/config/sanitizers:deps", | |
| 469 "//webrtc:webrtc_common", | 467 "//webrtc:webrtc_common", |
| 470 "//webrtc/base:rtc_base_approved", | 468 "//webrtc/base:rtc_base_approved", |
| 471 "//webrtc/tools:command_line_parser", | 469 "//webrtc/tools:command_line_parser", |
| 472 ] | 470 ] |
| 473 if (is_clang) { | 471 if (is_clang) { |
| 474 # Suppress warnings from the Chromium Clang plugin. | 472 # Suppress warnings from the Chromium Clang plugin. |
| 475 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 473 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 476 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 474 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 477 } | 475 } |
| 478 } | 476 } |
| 479 rtc_executable("relayserver") { | 477 rtc_executable("relayserver") { |
| 480 sources = [ | 478 sources = [ |
| 481 "relayserver/relayserver_main.cc", | 479 "relayserver/relayserver_main.cc", |
| 482 ] | 480 ] |
| 483 deps = [ | 481 deps = [ |
| 484 "//build/config/sanitizers:deps", | |
| 485 "//webrtc/base:rtc_base_approved", | 482 "//webrtc/base:rtc_base_approved", |
| 486 "//webrtc/pc:rtc_pc", | 483 "//webrtc/pc:rtc_pc", |
| 487 "//webrtc/system_wrappers:field_trial_default", | 484 "//webrtc/system_wrappers:field_trial_default", |
| 488 "//webrtc/system_wrappers:metrics_default", | 485 "//webrtc/system_wrappers:metrics_default", |
| 489 ] | 486 ] |
| 490 if (is_clang) { | 487 if (is_clang) { |
| 491 # Suppress warnings from the Chromium Clang plugin. | 488 # Suppress warnings from the Chromium Clang plugin. |
| 492 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 489 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 493 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 490 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 494 } | 491 } |
| 495 } | 492 } |
| 496 rtc_executable("turnserver") { | 493 rtc_executable("turnserver") { |
| 497 sources = [ | 494 sources = [ |
| 498 "turnserver/turnserver_main.cc", | 495 "turnserver/turnserver_main.cc", |
| 499 ] | 496 ] |
| 500 deps = [ | 497 deps = [ |
| 501 "//build/config/sanitizers:deps", | |
| 502 "//webrtc/base:rtc_base_approved", | 498 "//webrtc/base:rtc_base_approved", |
| 503 "//webrtc/pc:rtc_pc", | 499 "//webrtc/pc:rtc_pc", |
| 504 "//webrtc/system_wrappers:field_trial_default", | 500 "//webrtc/system_wrappers:field_trial_default", |
| 505 "//webrtc/system_wrappers:metrics_default", | 501 "//webrtc/system_wrappers:metrics_default", |
| 506 ] | 502 ] |
| 507 if (is_clang) { | 503 if (is_clang) { |
| 508 # Suppress warnings from the Chromium Clang plugin. | 504 # Suppress warnings from the Chromium Clang plugin. |
| 509 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 505 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 510 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 506 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 511 } | 507 } |
| 512 } | 508 } |
| 513 rtc_executable("stunserver") { | 509 rtc_executable("stunserver") { |
| 514 sources = [ | 510 sources = [ |
| 515 "stunserver/stunserver_main.cc", | 511 "stunserver/stunserver_main.cc", |
| 516 ] | 512 ] |
| 517 deps = [ | 513 deps = [ |
| 518 "//build/config/sanitizers:deps", | |
| 519 "//webrtc/base:rtc_base_approved", | 514 "//webrtc/base:rtc_base_approved", |
| 520 "//webrtc/pc:rtc_pc", | 515 "//webrtc/pc:rtc_pc", |
| 521 "//webrtc/system_wrappers:field_trial_default", | 516 "//webrtc/system_wrappers:field_trial_default", |
| 522 "//webrtc/system_wrappers:metrics_default", | 517 "//webrtc/system_wrappers:metrics_default", |
| 523 ] | 518 ] |
| 524 if (is_clang) { | 519 if (is_clang) { |
| 525 # Suppress warnings from the Chromium Clang plugin. | 520 # Suppress warnings from the Chromium Clang plugin. |
| 526 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 521 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 527 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 522 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 528 } | 523 } |
| 529 } | 524 } |
| 530 } | 525 } |
| OLD | NEW |