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") |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 current_cpu != "mips64el") { | 98 current_cpu != "mips64el") { |
99 rtc_use_openmax_dl = true | 99 rtc_use_openmax_dl = true |
100 } else { | 100 } else { |
101 rtc_use_openmax_dl = false | 101 rtc_use_openmax_dl = false |
102 } | 102 } |
103 | 103 |
104 # Determines whether NEON code will be built. | 104 # Determines whether NEON code will be built. |
105 rtc_build_with_neon = | 105 rtc_build_with_neon = |
106 (current_cpu == "arm" && arm_use_neon) || current_cpu == "arm64" | 106 (current_cpu == "arm" && arm_use_neon) || current_cpu == "arm64" |
107 | 107 |
108 # Enable this to use HW H.264 encoder/decoder on iOS PeerConnections. | |
109 # Enabling this may break interop with Android clients that support H264. | |
110 rtc_use_objc_h264 = false | |
111 | |
112 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on | 108 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on |
113 # all platforms except Android and iOS. Because FFmpeg can be built | 109 # all platforms except Android and iOS. Because FFmpeg can be built |
114 # with/without H.264 support, |ffmpeg_branding| has to separately be set to a | 110 # with/without H.264 support, |ffmpeg_branding| has to separately be set to a |
115 # value that includes H.264, for example "Chrome". If FFmpeg is built without | 111 # value that includes H.264, for example "Chrome". If FFmpeg is built without |
116 # H.264, compilation succeeds but |H264DecoderImpl| fails to initialize. See | 112 # H.264, compilation succeeds but |H264DecoderImpl| fails to initialize. See |
117 # also: |rtc_initialize_ffmpeg|. | 113 # also: |rtc_initialize_ffmpeg|. |
118 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. | 114 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. |
119 # http://www.openh264.org, https://www.ffmpeg.org/ | 115 # http://www.openh264.org, https://www.ffmpeg.org/ |
120 rtc_use_h264 = proprietary_codecs && !is_android && !is_ios | 116 rtc_use_h264 = proprietary_codecs && !is_android && !is_ios |
121 | 117 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 ]) | 306 ]) |
311 configs += invoker.configs | 307 configs += invoker.configs |
312 configs -= rtc_remove_configs | 308 configs -= rtc_remove_configs |
313 configs -= invoker.suppressed_configs | 309 configs -= invoker.suppressed_configs |
314 public_configs = [ rtc_common_inherited_config ] | 310 public_configs = [ rtc_common_inherited_config ] |
315 if (defined(invoker.public_configs)) { | 311 if (defined(invoker.public_configs)) { |
316 public_configs += invoker.public_configs | 312 public_configs += invoker.public_configs |
317 } | 313 } |
318 } | 314 } |
319 } | 315 } |
OLD | NEW |