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 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 if (build_with_chromium) { | 56 if (build_with_chromium) { |
57 sources += [ | 57 sources += [ |
58 "externalhmac.cc", | 58 "externalhmac.cc", |
59 "externalhmac.h", | 59 "externalhmac.h", |
60 ] | 60 ] |
61 } | 61 } |
62 if (rtc_build_libsrtp) { | 62 if (rtc_build_libsrtp) { |
63 deps += [ "//third_party/libsrtp" ] | 63 deps += [ "//third_party/libsrtp" ] |
64 } | 64 } |
65 | 65 |
66 configs += [ "..:common_config" ] | |
67 public_configs = [ | 66 public_configs = [ |
68 "..:common_inherited_config", | 67 "..:common_inherited_config", |
69 ":rtc_pc_config", | 68 ":rtc_pc_config", |
70 ] | 69 ] |
71 | 70 |
72 if (is_clang) { | 71 if (is_clang) { |
73 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 72 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
74 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 73 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
75 } | 74 } |
76 } | 75 } |
(...skipping 16 matching lines...) Expand all Loading... |
93 "channel_unittest.cc", | 92 "channel_unittest.cc", |
94 "channelmanager_unittest.cc", | 93 "channelmanager_unittest.cc", |
95 "currentspeakermonitor_unittest.cc", | 94 "currentspeakermonitor_unittest.cc", |
96 "mediasession_unittest.cc", | 95 "mediasession_unittest.cc", |
97 "rtcpmuxfilter_unittest.cc", | 96 "rtcpmuxfilter_unittest.cc", |
98 "srtpfilter_unittest.cc", | 97 "srtpfilter_unittest.cc", |
99 ] | 98 ] |
100 | 99 |
101 include_dirs = [ "//third_party/libsrtp/srtp" ] | 100 include_dirs = [ "//third_party/libsrtp/srtp" ] |
102 | 101 |
103 configs += [ | 102 configs += [ ":rtc_pc_unittests_config" ] |
104 "..:common_config", | |
105 ":rtc_pc_unittests_config", | |
106 ] | |
107 public_configs = [ "..:common_inherited_config" ] | 103 public_configs = [ "..:common_inherited_config" ] |
108 | 104 |
109 if (is_clang) { | 105 if (is_clang) { |
110 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 106 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
111 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 107 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
112 } | 108 } |
113 | 109 |
114 if (is_win) { | 110 if (is_win) { |
115 libs = [ "strmiids.lib" ] | 111 libs = [ "strmiids.lib" ] |
116 } | 112 } |
117 | 113 |
118 deps = [ | 114 deps = [ |
119 ":rtc_pc", | 115 ":rtc_pc", |
120 "../api:libjingle_peerconnection", | 116 "../api:libjingle_peerconnection", |
121 "../base:rtc_base_tests_utils", | 117 "../base:rtc_base_tests_utils", |
122 "../media:rtc_unittest_main", | 118 "../media:rtc_unittest_main", |
123 "../system_wrappers:metrics_default", | 119 "../system_wrappers:metrics_default", |
124 ] | 120 ] |
125 | 121 |
126 if (rtc_build_libsrtp) { | 122 if (rtc_build_libsrtp) { |
127 deps += [ "//third_party/libsrtp" ] | 123 deps += [ "//third_party/libsrtp" ] |
128 } | 124 } |
129 | 125 |
130 if (is_android) { | 126 if (is_android) { |
131 deps += [ "//testing/android/native_test:native_test_support" ] | 127 deps += [ "//testing/android/native_test:native_test_support" ] |
132 } | 128 } |
133 } | 129 } |
134 } | 130 } |
OLD | NEW |