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 deps = [] | 23 public_deps = [] |
24 | 24 |
25 if (is_android) { | 25 if (is_android) { |
26 deps += [ ":AppRTCDemo" ] | 26 public_deps += [ ":AppRTCDemo" ] |
27 } | 27 } |
28 if (is_linux) { | 28 if (is_linux) { |
29 deps += [ | 29 public_deps += [ |
30 ":peerconnection_client", | 30 ":peerconnection_client", |
31 ":peerconnection_server", | 31 ":peerconnection_server", |
32 ":relayserver", | 32 ":relayserver", |
33 ":stunserver", | 33 ":stunserver", |
34 ":turnserver", | 34 ":turnserver", |
35 ] | 35 ] |
36 } | 36 } |
37 } | 37 } |
38 | 38 |
39 if (is_android) { | 39 if (is_android) { |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 "//webrtc/system_wrappers:field_trial_default", | 515 "//webrtc/system_wrappers:field_trial_default", |
516 "//webrtc/system_wrappers:metrics_default", | 516 "//webrtc/system_wrappers:metrics_default", |
517 ] | 517 ] |
518 if (is_clang) { | 518 if (is_clang) { |
519 # Suppress warnings from the Chromium Clang plugin. | 519 # Suppress warnings from the Chromium Clang plugin. |
520 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 520 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
521 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 521 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
522 } | 522 } |
523 } | 523 } |
524 } | 524 } |
OLD | NEW |