OLD | NEW |
---|---|
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 import("//build/config/ios/rules.gni") | |
kjellander_webrtc
2017/02/14 09:57:26
Please put this inside a
if (is_ios) {
}
block as
| |
16 | 17 |
17 declare_args() { | 18 declare_args() { |
18 # Disable this to avoid building the Opus audio codec. | 19 # Disable this to avoid building the Opus audio codec. |
19 rtc_include_opus = true | 20 rtc_include_opus = true |
20 | 21 |
21 # Enable this if the Opus version upon which WebRTC is built supports direct | 22 # Enable this if the Opus version upon which WebRTC is built supports direct |
22 # encoding of 120 ms packets. | 23 # encoding of 120 ms packets. |
23 rtc_opus_support_120ms_ptime = false | 24 rtc_opus_support_120ms_ptime = false |
24 | 25 |
25 # Enable this to let the Opus audio codec change complexity on the fly. | 26 # 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 Loading... | |
321 ]) | 322 ]) |
322 configs += invoker.configs | 323 configs += invoker.configs |
323 configs -= rtc_remove_configs | 324 configs -= rtc_remove_configs |
324 configs -= invoker.suppressed_configs | 325 configs -= invoker.suppressed_configs |
325 public_configs = [ rtc_common_inherited_config ] | 326 public_configs = [ rtc_common_inherited_config ] |
326 if (defined(invoker.public_configs)) { | 327 if (defined(invoker.public_configs)) { |
327 public_configs += invoker.public_configs | 328 public_configs += invoker.public_configs |
328 } | 329 } |
329 } | 330 } |
330 } | 331 } |
332 | |
333 if (is_ios) { | |
334 set_defaults("rtc_ios_xctest_test") { | |
335 configs = rtc_add_configs | |
336 suppressed_configs = [] | |
337 } | |
338 | |
339 template("rtc_ios_xctest_test") { | |
340 ios_xctest_test(target_name) { | |
341 forward_variables_from(invoker, | |
342 "*", | |
343 [ | |
344 "configs", | |
345 "public_configs", | |
346 "suppressed_configs", | |
347 ]) | |
348 configs += invoker.configs | |
349 configs -= rtc_remove_configs | |
350 configs -= invoker.suppressed_configs | |
351 public_configs = [ rtc_common_inherited_config ] | |
352 if (defined(invoker.public_configs)) { | |
353 public_configs += invoker.public_configs | |
354 } | |
355 } | |
356 } | |
357 } | |
OLD | NEW |