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/mips.gni") | 10 import("//build/config/mips.gni") |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 # Enabling this may break interop with Android clients that support H264. | 91 # Enabling this may break interop with Android clients that support H264. |
92 rtc_use_objc_h264 = false | 92 rtc_use_objc_h264 = false |
93 | 93 |
94 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on | 94 # Enable this to build OpenH264 encoder/FFmpeg decoder. This is supported on |
95 # all platforms except iOS. Because FFmpeg can be built with/without H.264 | 95 # all platforms except iOS. Because FFmpeg can be built with/without H.264 |
96 # support, |ffmpeg_branding| has to separately be set to a value that | 96 # support, |ffmpeg_branding| has to separately be set to a value that |
97 # includes H.264, for example "Chrome". If FFmpeg is built without H.264, | 97 # includes H.264, for example "Chrome". If FFmpeg is built without H.264, |
98 # compilation succeeds but |H264DecoderImpl| fails to initialize. | 98 # compilation succeeds but |H264DecoderImpl| fails to initialize. |
99 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. | 99 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. |
100 # http://www.openh264.org, https://www.ffmpeg.org/ | 100 # http://www.openh264.org, https://www.ffmpeg.org/ |
101 rtc_use_h264 = false # TODO(hbos): enc/dec in follow up CL(s). | 101 rtc_use_h264 = false |
102 } | 102 } |
103 | 103 |
104 # A second declare_args block, so that declarations within it can | 104 # A second declare_args block, so that declarations within it can |
105 # depend on the possibly overridden variables in the first | 105 # depend on the possibly overridden variables in the first |
106 # declare_args block. | 106 # declare_args block. |
107 declare_args() { | 107 declare_args() { |
108 # Include the iLBC audio codec? | 108 # Include the iLBC audio codec? |
109 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) | 109 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) |
110 } | 110 } |
111 | 111 |
112 # Make it possible to provide custom locations for some libraries (move these | 112 # Make it possible to provide custom locations for some libraries (move these |
113 # up into declare_args should we need to actually use them for the GN build). | 113 # up into declare_args should we need to actually use them for the GN build). |
114 rtc_libvpx_dir = "//third_party/libvpx_new" | 114 rtc_libvpx_dir = "//third_party/libvpx_new" |
115 rtc_libyuv_dir = "//third_party/libyuv" | 115 rtc_libyuv_dir = "//third_party/libyuv" |
116 rtc_opus_dir = "//third_party/opus" | 116 rtc_opus_dir = "//third_party/opus" |
OLD | NEW |