Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: webrtc/webrtc.gni

Issue 2697603002: Move iOS tests to XCTest from gtest. (Closed)
Patch Set: fix nits Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
11 import("//build/config/mips.gni") 11 import("//build/config/mips.gni")
12 import("//build/config/sanitizers/sanitizers.gni") 12 import("//build/config/sanitizers/sanitizers.gni")
13 import("//build/config/ui.gni") 13 import("//build/config/ui.gni")
14 import("//build_overrides/build.gni") 14 import("//build_overrides/build.gni")
15 import("//testing/test.gni") 15 import("//testing/test.gni")
16 if (is_ios) {
17 import("//build/config/ios/rules.gni")
18 }
16 19
17 declare_args() { 20 declare_args() {
18 # Disable this to avoid building the Opus audio codec. 21 # Disable this to avoid building the Opus audio codec.
19 rtc_include_opus = true 22 rtc_include_opus = true
20 23
21 # Enable this if the Opus version upon which WebRTC is built supports direct 24 # Enable this if the Opus version upon which WebRTC is built supports direct
22 # encoding of 120 ms packets. 25 # encoding of 120 ms packets.
23 rtc_opus_support_120ms_ptime = false 26 rtc_opus_support_120ms_ptime = false
24 27
25 # Enable this to let the Opus audio codec change complexity on the fly. 28 # Enable this to let the Opus audio codec change complexity on the fly.
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 ]) 324 ])
322 configs += invoker.configs 325 configs += invoker.configs
323 configs -= rtc_remove_configs 326 configs -= rtc_remove_configs
324 configs -= invoker.suppressed_configs 327 configs -= invoker.suppressed_configs
325 public_configs = [ rtc_common_inherited_config ] 328 public_configs = [ rtc_common_inherited_config ]
326 if (defined(invoker.public_configs)) { 329 if (defined(invoker.public_configs)) {
327 public_configs += invoker.public_configs 330 public_configs += invoker.public_configs
328 } 331 }
329 } 332 }
330 } 333 }
334
335 if (is_ios) {
336 set_defaults("rtc_ios_xctest_test") {
337 configs = rtc_add_configs
338 suppressed_configs = []
339 }
340
341 template("rtc_ios_xctest_test") {
342 ios_xctest_test(target_name) {
343 forward_variables_from(invoker,
344 "*",
345 [
346 "configs",
347 "public_configs",
348 "suppressed_configs",
349 ])
350 configs += invoker.configs
351 configs -= rtc_remove_configs
352 configs -= invoker.suppressed_configs
353 public_configs = [ rtc_common_inherited_config ]
354 if (defined(invoker.public_configs)) {
355 public_configs += invoker.public_configs
356 }
357 }
358 }
359 }
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModel_xctest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698