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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 223 "../base:rtc_base_approved", | 223 "../base:rtc_base_approved", |
| 224 ] | 224 ] |
| 225 if (!build_with_chromium && is_clang) { | 225 if (!build_with_chromium && is_clang) { |
| 226 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 226 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 227 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 228 } | 228 } |
| 229 } | 229 } |
| 230 | 230 |
| 231 rtc_source_set("rtc_api_unittests") { | 231 rtc_source_set("rtc_api_unittests") { |
| 232 testonly = true | 232 testonly = true |
| 233 if (!is_android && !is_ios) { # Generated targets makes this check break. | |
|
kjellander_webrtc
2017/04/21 12:13:59
What I mean with this is that when building rtc_un
stefan-webrtc
2017/04/21 12:28:27
I think it would be good to describe this in a bit
kjellander_webrtc
2017/04/21 12:48:21
Done.
| |
| 234 visibility = [ "//webrtc:rtc_unittests" ] | |
| 235 } | |
| 233 sources = [ | 236 sources = [ |
| 234 "ortc/mediadescription_unittest.cc", | 237 "ortc/mediadescription_unittest.cc", |
| 235 "ortc/sessiondescription_unittest.cc", | 238 "ortc/sessiondescription_unittest.cc", |
| 236 "rtcerror_unittest.cc", | 239 "rtcerror_unittest.cc", |
| 237 ] | 240 ] |
| 238 | 241 |
| 239 if (!build_with_chromium && is_clang) { | 242 if (!build_with_chromium && is_clang) { |
| 240 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 243 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 244 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 242 } | 245 } |
| 243 | 246 |
| 244 deps = [ | 247 deps = [ |
| 245 ":libjingle_peerconnection_api", | 248 ":libjingle_peerconnection_api", |
| 246 ":ortc_api", | 249 ":ortc_api", |
| 247 "//webrtc/test:test_support", | 250 "//webrtc/test:test_support", |
| 248 ] | 251 ] |
| 249 } | 252 } |
| 250 } | 253 } |
| OLD | NEW |