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("../webrtc.gni") | 9 import("../webrtc.gni") |
10 import("audio_coding/audio_coding.gni") | 10 import("audio_coding/audio_coding.gni") |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 if (is_android) { | 78 if (is_android) { |
79 deps += [ "//testing/android/native_test:native_test_native_code" ] | 79 deps += [ "//testing/android/native_test:native_test_native_code" ] |
80 shard_timeout = 900 | 80 shard_timeout = 900 |
81 } | 81 } |
82 | 82 |
83 if (is_ios) { | 83 if (is_ios) { |
84 deps += [ ":modules_tests_bundle_data" ] | 84 deps += [ ":modules_tests_bundle_data" ] |
85 } | 85 } |
86 | 86 |
| 87 if (is_ios || is_mac) { |
| 88 deps += [ "../rtc_base:rtc_base_apple" ] |
| 89 } |
| 90 |
87 if (!build_with_chromium && is_clang) { | 91 if (!build_with_chromium && is_clang) { |
88 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 92 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
89 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 93 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
90 } | 94 } |
91 if (is_win) { | 95 if (is_win) { |
92 cflags = [ | 96 cflags = [ |
93 # TODO(phoglund): get rid of 4373 supression when | 97 # TODO(phoglund): get rid of 4373 supression when |
94 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved. | 98 # http://code.google.com/p/webrtc/issues/detail?id=261 is solved. |
95 # legacy warning for ignoring const / volatile in signatures. | 99 # legacy warning for ignoring const / volatile in signatures. |
96 "/wd4373", | 100 "/wd4373", |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 "//testing/android/native_test:native_test_support", | 253 "//testing/android/native_test:native_test_support", |
250 ] | 254 ] |
251 shard_timeout = 900 | 255 shard_timeout = 900 |
252 } | 256 } |
253 if (is_ios) { | 257 if (is_ios) { |
254 info_plist = "../test/ios/Info.plist" | 258 info_plist = "../test/ios/Info.plist" |
255 deps += [ ":modules_unittests_bundle_data" ] | 259 deps += [ ":modules_unittests_bundle_data" ] |
256 configs += [ "..:common_objc" ] | 260 configs += [ "..:common_objc" ] |
257 ldflags = [ "-ObjC" ] | 261 ldflags = [ "-ObjC" ] |
258 } | 262 } |
| 263 if (is_ios || is_mac) { |
| 264 deps += [ "../rtc_base:rtc_base_apple" ] |
| 265 } |
259 } | 266 } |
260 } | 267 } |
OLD | NEW |