| 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) { |
| 11 import("//build/config/android/config.gni") | 11 import("//build/config/android/config.gni") |
| 12 import("//build/config/android/rules.gni") | 12 import("//build/config/android/rules.gni") |
| 13 } else if (is_mac) { | 13 } else if (is_mac) { |
| 14 import("//build/config/mac/rules.gni") | 14 import("//build/config/mac/rules.gni") |
| 15 } else if (is_ios) { | 15 } else if (is_ios) { |
| 16 import("//build/config/ios/rules.gni") | 16 import("//build/config/ios/rules.gni") |
| 17 } | 17 } |
| 18 if (is_linux) { | 18 if (is_linux) { |
| 19 import("//build/config/linux/pkg_config.gni") | 19 import("//build/config/linux/pkg_config.gni") |
| 20 } | 20 } |
| 21 | 21 |
| 22 group("examples") { | 22 group("examples") { |
| 23 # This target shall build all targets in examples. |
| 24 testonly = true |
| 23 public_deps = [] | 25 public_deps = [] |
| 24 | 26 |
| 25 if (is_android) { | 27 if (is_android) { |
| 28 public_deps += [ |
| 29 ":AppRTCMobile", |
| 30 ":AppRTCMobileTest", |
| 31 ] |
| 32 } |
| 33 |
| 34 if (is_ios || (is_mac && target_cpu != "x86")) { |
| 26 public_deps += [ ":AppRTCMobile" ] | 35 public_deps += [ ":AppRTCMobile" ] |
| 27 } | 36 } |
| 28 if (is_linux) { | 37 |
| 38 if (is_linux || is_win) { |
| 29 public_deps += [ | 39 public_deps += [ |
| 30 ":peerconnection_client", | 40 ":peerconnection_client", |
| 31 ":peerconnection_server", | 41 ":peerconnection_server", |
| 32 ":relayserver", | 42 ":relayserver", |
| 33 ":stunserver", | 43 ":stunserver", |
| 34 ":turnserver", | 44 ":turnserver", |
| 35 ] | 45 ] |
| 36 } | 46 } |
| 37 } | 47 } |
| 38 | 48 |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 "//webrtc/pc:rtc_pc", | 530 "//webrtc/pc:rtc_pc", |
| 521 "//webrtc/system_wrappers:field_trial_default", | 531 "//webrtc/system_wrappers:field_trial_default", |
| 522 "//webrtc/system_wrappers:metrics_default", | 532 "//webrtc/system_wrappers:metrics_default", |
| 523 ] | 533 ] |
| 524 if (!build_with_chromium && is_clang) { | 534 if (!build_with_chromium && is_clang) { |
| 525 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 535 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 526 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 536 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 527 } | 537 } |
| 528 } | 538 } |
| 529 } | 539 } |
| OLD | NEW |