Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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("../webrtc.gni") | 9 import("../webrtc.gni") |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 165 deps += [ "$rtc_libyuv_dir" ] | 165 deps += [ "$rtc_libyuv_dir" ] |
| 166 public_deps = [ | 166 public_deps = [ |
| 167 "$rtc_libyuv_dir", | 167 "$rtc_libyuv_dir", |
| 168 ] | 168 ] |
| 169 } else { | 169 } else { |
| 170 # Need to add a directory normally exported by libyuv. | 170 # Need to add a directory normally exported by libyuv. |
| 171 include_dirs = [ "$rtc_libyuv_dir/include" ] | 171 include_dirs = [ "$rtc_libyuv_dir/include" ] |
| 172 } | 172 } |
| 173 } | 173 } |
| 174 | 174 |
| 175 rtc_source_set("libjingle_peerconnection_test_api") { | |
| 176 testonly = true | |
| 177 sources = [ | |
| 178 "test/fakeconstraints.h", | |
| 179 ] | |
| 180 | |
| 181 public_deps = [ | |
| 182 ":libjingle_peerconnection_api", | |
| 183 ] | |
| 184 | |
| 185 deps = [ | |
| 186 "../base:rtc_base_approved", | |
| 187 ] | |
| 188 } | |
| 189 | |
| 175 if (rtc_include_tests) { | 190 if (rtc_include_tests) { |
| 176 rtc_source_set("mock_audio_mixer") { | 191 rtc_source_set("mock_audio_mixer") { |
| 177 testonly = true | 192 testonly = true |
| 178 sources = [ | 193 sources = [ |
| 179 "test/mock_audio_mixer.h", | 194 "test/mock_audio_mixer.h", |
| 180 ] | 195 ] |
| 181 | 196 |
| 182 public_deps = [ | 197 public_deps = [ |
| 183 ":audio_mixer_api", | 198 ":audio_mixer_api", |
| 184 ] | 199 ] |
| 185 | 200 |
| 186 deps = [ | 201 deps = [ |
| 187 "//testing/gmock", | 202 "//testing/gmock", |
| 188 "//webrtc/test:test_support", | 203 "//webrtc/test:test_support", |
| 189 ] | 204 ] |
| 190 } | 205 } |
| 191 | 206 |
| 192 rtc_source_set("libjingle_peerconnection_test_api") { | |
| 193 testonly = true | |
| 194 sources = [ | |
| 195 "test/fakeconstraints.h", | |
| 196 ] | |
| 197 | |
| 198 public_deps = [ | |
| 199 ":libjingle_peerconnection_api", | |
| 200 ] | |
| 201 | |
| 202 deps = [ | |
| 203 "../base:rtc_base_approved", | |
| 204 "//webrtc/test:test_support", | |
|
kjellander_webrtc
2017/03/04 06:22:58
Turns out test_support was unused, making it possi
| |
| 205 ] | |
| 206 } | |
| 207 | |
| 208 rtc_source_set("fakemetricsobserver") { | 207 rtc_source_set("fakemetricsobserver") { |
| 209 testonly = true | 208 testonly = true |
| 210 sources = [ | 209 sources = [ |
| 211 "fakemetricsobserver.cc", | 210 "fakemetricsobserver.cc", |
| 212 "fakemetricsobserver.h", | 211 "fakemetricsobserver.h", |
| 213 ] | 212 ] |
| 214 deps = [ | 213 deps = [ |
| 215 ":libjingle_peerconnection_api", | 214 ":libjingle_peerconnection_api", |
| 216 "../base:rtc_base_approved", | 215 "../base:rtc_base_approved", |
| 217 ] | 216 ] |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 231 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 230 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 232 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 231 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 233 } | 232 } |
| 234 | 233 |
| 235 deps = [ | 234 deps = [ |
| 236 ":libjingle_peerconnection_api", | 235 ":libjingle_peerconnection_api", |
| 237 "//webrtc/test:test_support", | 236 "//webrtc/test:test_support", |
| 238 ] | 237 ] |
| 239 } | 238 } |
| 240 } | 239 } |
| OLD | NEW |